URL Encoder / Decoder
Percent-encode text for safe use in URLs, or decode %-sequences back into readable text.
How it works
Encoding applies percent-encoding (RFC 3986) to every character that is not safe inside a URL component — spaces become %20, & becomes %26, and non-ASCII characters become their UTF-8 byte sequences. Decoding reverses the process and reports malformed sequences (a % not followed by two hex digits) instead of guessing.
Example
The query value "rate 18% & more" encodes to rate%2018%25%20%26%20more — paste any messy URL you received and Decode reveals what it actually says.
Frequently asked questions
Encode a full URL or just a part?
This tool encodes like encodeURIComponent — meant for individual components (a query value, a path segment), not a whole URL at once.
Why did + not decode to a space?
+ means space only in the older form-encoding convention; percent-encoding uses %20. Replace + with %20 first if your input uses form encoding.
Does it handle emoji and Hindi?
Yes — any Unicode text round-trips via its UTF-8 percent-encoding.
Is anything sent to a server?
No — both directions run locally.
Related tools
Encode text to Base64 or decode Base64 back to text — Unicode-safe, entirely in your browser.
Slug GeneratorTurn any title into a clean, SEO-friendly URL slug — lowercase, hyphenated, accent-free.
JSON Formatter & ValidatorFormat, validate and minify JSON online with clear error messages pointing at the failing line.