Encode and Decode
Convert text to percent-encoding and back again, both directions in one tool with live output.
Encode text for safe use in a URL and decode percent-encoded URLs back to readable text, right in your browser. Component and whole-URL modes. Free, no signup, nothing uploaded.
Choose Encode to make text safe for a URL, or Decode to turn a percent-encoded URL back into plain text. The output updates as you type.
Use Component to encode a single value like a query parameter, or Whole URL to encode a full address while keeping the slashes and separators.
Copy the output, or use Swap to send it back to the input and flip the direction in one click.
URLs can only safely carry a limited set of characters. The moment a value contains a space, an ampersand, a question mark, or a non-Latin letter, it has to be percent-encoded, turned into sequences like %20 and %26, so the address is read correctly and not split in the wrong place.
Get it wrong and a query parameter ends early, a redirect breaks, or a search term loses its accent. Encoding by hand means remembering which characters are reserved and what each one becomes, which is exactly the kind of detail that is easy to miss.
This tool does it for you in both directions. Encode a single value or a whole URL, decode an encoded address back to something you can read, and switch between component and whole-URL modes so you only encode what needs it. Because it runs in the browser, URLs with private tokens or data stay on your machine.
Convert text to percent-encoding and back again, both directions in one tool with live output.
Encode a single query value, or a complete URL while keeping the slashes, question marks, and separators intact.
Accents, emoji, and non-Latin characters are encoded as proper UTF-8 percent sequences and decode back cleanly.
If a URL has a broken percent sequence, you get a plain explanation instead of a silent failure.
Send the output back to the input and flip encode to decode without retyping anything.
Everything happens in your browser. Your text and URLs are never uploaded or stored.
More Developer tools you might find useful.
Common questions about URL encoding and decoding.