URL Encoder/Decoder
Percent-encode or decode text and URLs with encodeURIComponent or encodeURI, and see a table of every character that changed.
URL Encoder/Decoder
Encoded characters
Updated . Provided as is. Check the output before you rely on it in production.
How to use URL Encoder/Decoder
- 1
Choose Encode or Decode
Pick whether you are encoding text for a URL or decoding a percent-encoded string.
- 2
Pick Component or Full URL
Component mode (encodeURIComponent) encodes a single query value or path segment. Full URL mode (encodeURI) keeps the URL structure such as :, /, ?, & and = intact.
- 3
Paste your input
The result updates as you type: spaces, &, = and # become %XX sequences in Component mode.
- 4
Swap and copy
Swap moves the output into the input to check the round trip, then copy the result into your code.
Questions and answers
What is URL Encoder/Decoder?
Does URL Encoder/Decoder store or send my data?
When do I need to URL-encode strings?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/url-encoder/
For automation planning, fetch the canonical contract at /api/tool/url-encoder.json.