Convert special characters to and from named/numeric HTML entities.
Parse query strings into key-value pairs or construct URL-encoded parameter strings.
Deconstruct URLs into protocol, host, port, path, query parameters, and hash fragment.
Encode or decode Base64 strings instantly with size metrics.
Turn any title or text string into a clean, URL-safe SEO slug.
Whenever a URL contains spaces, symbols, or non-ASCII characters, they need to be percent-encoded before the link will work reliably, and this url encoder decoder handles that conversion instantly in your browser. Web developers building query strings, testers debugging redirect issues, and anyone pasting a broken link can encode or decode text in either direction without touching a terminal. Paste a raw string to see its percent-encoded form, or drop in an already-encoded URL to reveal the readable version underneath. Everything runs client-side, so query parameters containing tokens or personal data are never transmitted anywhere. No installation, no signup — just paste your text below and get the correct output immediately.
URL encoding replaces unsafe or reserved characters in a URL with a '%' followed by two hex digits, so the URL can be transmitted correctly over the web.
Any time a parameter value contains spaces, ampersands, slashes, or other special characters that could otherwise be misread as part of the URL structure.
encodeURIComponent encodes nearly all special characters and is meant for individual query values, while encodeURI leaves URL structural characters like '/' and '&' untouched.
Yes, decoding happens entirely in your browser with no server involved, so the data never leaves your device.
'+' is the legacy encoding for spaces in form submissions (application/x-www-form-urlencoded), while '%20' is the standard percent-encoding used in URL paths.
Yes, you can paste a full URL and it will percent-encode the characters that need it while leaving valid URL syntax intact.
How to URL Encode a String (and When You Must)
URL encoding explained: which characters need percent-encoding, why a space is %20 in a path but + in a query string, and how to avoid double-encoding bugs.
The Complete Guide to Text Encoding on the Web
A complete text encoding guide: how Unicode and UTF-8 store characters as bytes, plus Base64, percent-encoding, HTML entities, hex, and how to fix garbled text.