development

URL Encoder / Decoder

Encode and decode URLs quickly.

How to encode and decode a URL

  1. Paste a URL, parameter, or text value.
  2. Choose Encode URL or Decode URL.
  3. Review, copy, or clear the result.

Special-character example

Encode text containing spaces and accents.

café com leite → caf%C3%A9%20com%20leite

Percent encoding represents characters in a URL component.

Use cases

  • Encode a query parameter value.
  • Read percent-encoded text.
  • Prepare a URL component with special characters.
  • Check URL character encoding.

Tips and limitations

  • It uses the browser's encodeURIComponent and decodeURIComponent functions.
  • The whole input is treated as a component, so encoding a complete URL also encodes its separators.
  • Spaces become %20; + remains + when decoding.
  • Invalid percent sequences show an error and clear the result.
  • It runs in the browser, with copy and clear controls but no declared input limit, upload, download, URL validation, encryption, or security check.

Frequently asked questions

Can I encode a full URL?

Yes, but its separators will also be encoded because the tool encodes a component.

Does + become a space?

No. Only %20 is decoded as a space.

Is URL encoding encryption?

No. It does not protect or validate the content.