URL Encoder / Decoder
Percent-encode or decode URLs and query components.
100% Client-Side Processing • Your Data Never Leaves Your Browser
About URL Encoder / Decoder
Percent-encode text so it's safe to drop into a URL, or decode an encoded URL back to readable characters. Spaces, ampersands, question marks, and unicode all get escaped to their %XX form so they don't break the query string or path.
Handy when you're building a link with query parameters by hand, debugging why a redirect URL is mangled, or reading an encoded value from a log. Encode full URLs or just a single query component — all locally in your browser.
Key Features
Encode query parameters and URI components
Decode percent-encoded URLs
Component vs Full URI encoding modes
Instant copy to clipboard
Frequently Asked Questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves protocol (http://) and query separators (?), whereas encodeURIComponent escapes all special characters for safe query parameter passing.
Related tools