Developer Tools

URL Encoder / Decoder

Percent-encode or decode URLs, query strings and components instantly.

Tool

About the URL Encoder / Decoder

The URL Encoder / Decoder runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.

URLs may only contain ASCII characters that are safe for the web — spaces, &, ?, emoji and non-English text must be percent-encoded (%20, %26…) or the request breaks. This tool encodes whole URLs or individual components, and reverses any percent-encoded string back to readable text.

How to use this tool

  1. Encode full URL: encodes the string but keeps structure characters (/ ? & = :) intact — use when building links.
  2. Encode component: encodes everything special — use for a single query-string value.
  3. Decode: converts %XX sequences (and +) back to normal characters.
  4. Copy the output with one click.

Common percent codes

CharacterEncoding
Space%20
&%26
#%23
?%3F
/%2F
+%2B (or space in query strings)

Full vs. component encoding

Encoding a whole URL with component encoding would turn https://… into https%3A%2F%2F… — a broken link. Encode the URL structure with full encoding; encode just the value you're passing as a parameter with component encoding.

Who is this tool for?

Anyone building share links, debugging UTM-tagged campaign URLs, or tracking down a %20 that broke an API request.

Developer tip

If an API call 400s only when a value contains spaces or &, the client forgot to component-encode that parameter — that is almost always the bug.

Frequently asked questions

Browsers tolerate some raw characters, but servers and strict parsers don't. Percent-encoding is the guaranteed-safe standard for every reserved and non-ASCII character.
It was double-encoded (encoded twice). Decode again to unwrap the second layer.
Only in query strings of form-encoded data. In path segments, + is a literal plus sign — decode accordingly.

Related tools

Guides for this tool