Skip to main content
InstantTools
Forge · Developer studio

URL Encoder

Percent-encode or decode URL text, including emoji and accents.

Free foreverNo uploadsNo account
Input
Output
Suggested next steps

Keep working with these tools

Nothing sent

Since you opened this page, this tool has sent 0 bytes anywhere. It's counting every network request live — check your browser's Network tab if you want to see it yourself.

01 · Real-world fits

Common use cases

  • Encoding a search term with spaces and & before adding it to an API request's query string
  • Encoding a full return URL so it can sit inside another URL, as in ?redirect=https%3A%2F%2Fexample.com%2Fcart
  • Decoding a long tracking link from an email to see where it actually goes
  • Reading a server log or analytics report where every query is full of %20 and %3D
  • Building a mailto: link whose subject and body contain spaces, line breaks, or accented names
  • Checking whether a value was encoded twice when an API returns %2520 instead of a space
02 · The honest pitch

Why URL Encoder?

Input and output sit side by side, so you can compare the raw text with the encoded result. It uses the browser's standard encodeURIComponent and decodeURIComponent, which convert text to UTF-8 first, so é, ü, Chinese characters, and emoji all encode correctly. A bad string gets a clear error and an empty output, so you never copy a stale result by mistake. Encoding and decoding run in your browser.

03 · Edge cases

Frequently asked questions

URLs may contain only a small set of ASCII characters, and a space isn't one of them. Percent encoding replaces each disallowed character with % plus its byte value in hexadecimal. A space is byte 32, which is 20 in hex, so it becomes %20. An ampersand becomes %26, an equals sign %3D, a slash %2F.