URL Encoder / Decoder
Encode or decode URLs and their components
Input
Output
Result will appear here.
What this tool does
URL Encoder / Decoder converts text or URLs into percent-encoded form (like turning a space into %20), or decodes percent-encoded text back into readable form. It can also break a URL down into its parts. Everything happens locally in your browser — nothing is sent anywhere.
How it works
- Encode / Decode — switch between percent-encoding input, or decoding percent-encoded input back to plain text.
- Scope: Component — encodes everything, including characters like
&,?, and/. Use this for a value going into a query parameter (like a search term or a redirect URL). - Scope: Full URI — leaves URL-structural characters like
:,/,?, and&untouched, and only encodes characters that aren't allowed in a URL at all. Use this when encoding an entire URL you intend to keep usable as a link. - Parse URL — if the input is a full URL, breaks it into protocol, host, path, query parameters, and fragment for a quick look at its structure.
- Copy Output — grab the result once it's ready.
Good to know
- Component encoding and Full URI encoding are genuinely different operations — encoding an entire URL with Component scope will break it, because it also encodes the
://and?/&that give the URL its structure. - Decoding expects valid percent-encoding (like
%20); malformed sequences will show an error rather than a guess. - Query parameters shown by Parse URL are decoded automatically for readability.