DEVELOPER TOOL

URL Encoder / Decoder

Percent-encode or decode text and URLs safely.

About this tool

Percent-encode text so it's safe to use inside a URL (spaces, symbols, and non-Latin characters get converted to %-escaped sequences), or decode an already-encoded URL back into readable text.

Frequently asked questions

Why do spaces become "%20"?
URLs can't contain literal spaces, so they're percent-encoded as %20 (or sometimes "+" in query strings specifically) to keep the URL valid.
What's the difference from Base64 encoding?
URL encoding only escapes characters that aren't allowed in a URL, keeping the rest of the text readable. Base64 re-encodes everything into a completely different, denser representation.
What happens with malformed encoded input?
A hint appears explaining the input contains an invalid percent-escape sequence, rather than showing corrupted output.