URL Encoder / Decoder

Percent-encode or decode text and URLs, and inspect or edit a URL's query parameters. Runs entirely in your browser.

Sponsored

Query parameter inspector

Paste a full URL to break it into editable parameters, then rebuild it.

Sponsored

Frequently asked questions

What's the difference between the two encode modes?

encodeURIComponent escapes all reserved characters (& ? = / etc.), for encoding a single value. encodeURI keeps URL-structure characters intact, for encoding a whole URL. The checkbox switches between them.

Why does decode turn + into a space?

In application/x-www-form-urlencoded data (query strings from forms), spaces are encoded as +. The decoder converts + back to a space so form values read correctly.

Can I edit query parameters?

Yes. Paste a full URL into the inspector and it breaks out each parameter into editable fields. Change, add or remove them and the rebuilt, correctly-encoded URL updates live.

Is anything sent to a server?

No. All encoding, decoding and URL parsing happens in your browser with native JavaScript. Nothing is transmitted.

Encode vs. encode-component