Advertisement

URL Encoder / Decoder Online

Encode text for safe use in URLs (percent-encoding) or decode encoded URLs back to readable text. Handles full Unicode, instant and private.

🔒 Runs 100% in your browser
Advertisement

Percent-encoding, made simple

URLs may only contain a limited set of characters, so spaces, accents, emoji and symbols must be percent-encoded — a space becomes %20, and café becomes caf%C3%A9. Use Encode to make text URL-safe (for query strings, links and API parameters) and Decode to turn an encoded URL back into readable text.

Two modes: the default keeps a full URL working (like encodeURI), while "encode every reserved char" escapes ?&=/# too (like encodeURIComponent) — use that when encoding a single value to drop inside a query string. Everything runs locally. Pairs well with Base64 and the JSON formatter.

Frequently asked questions

When do I need 'encode every reserved char'?

When the text is a single parameter value containing &, =, ? or / that must not be read as URL structure — e.g. putting a full URL inside another URL's query string.

Why did decoding fail?

The input contains a stray % not followed by two hex digits, so it isn't valid percent-encoding. Check for literal % signs that should be written %25.

Advertisement