Case Converter
URL Encoder
Percent-encode text for safe use in URLs, or decode an encoded URL back to readable text - instantly, in your browser. No sign-up, free.
How to encode or decode a URL
Paste your text or URL
Anything from a single query value to a complete address.
Pick the direction and mode
Encode converts special characters to %XX sequences. Full URL mode keeps :, /, ? and & intact so a complete address stays clickable; component mode encodes everything for query parameters.
Copy the result
The output updates live - copy it straight into your code or address bar.
URL encoding questions, answered
Is my text sent to a server?
No. Encoding runs locally - URLs with API keys, tokens or session parameters in them never leave your machine.
When do I need component mode vs full URL mode?
Encoding a VALUE that goes inside a query string (like a search term) needs component mode, which also encodes &, = and ?. Encoding a whole address you want to remain a working link needs full URL mode.
Why does a space become %20 and not +?
%20 is the universal percent-encoding for a space and works everywhere. The + form is a legacy convention only valid inside query strings; the decoder here accepts both.
Why does decoding sometimes fail?
A lone % that is not followed by two hex digits is not valid percent-encoding. The tool flags it instead of guessing.