URL Encoder / Decoder

Encode and decode URL components online. Free, instant, and runs entirely in your browser.

About URL Encoding

A URL can only safely carry a small set of characters: letters, digits, and a handful of punctuation. Anything else — spaces, ampersands, non-Latin letters, emoji — must be percent-encoded: each unsafe byte is replaced with a % followed by two hex digits. URL encoding is what lets a search query like café & croissants survive the trip from your address bar to the server intact.

How to use

Paste your text into the input and press Encode to convert it to its percent-encoded form, or Decode to reverse a percent-encoded string back to readable text. The tool uses encodeURIComponent, which is the right default for query parameter values, form fields, and any single piece of data being inserted into a URL. Reserved characters like &, =, and ? are escaped, so the result can be safely concatenated into a URL without breaking the structure.

Privacy

Your input never leaves this browser. Encoding and decoding run locally — nothing is uploaded, logged, or stored. Close the tab and the data is gone.

Frequently Asked Questions

Edit PDFs on your phone

Pure PDF Editor works offline on iPhone, iPad, Mac, and Android. Free to download.