All Tools / URL Encoder/Decoder Web
IP: · ·

URL Encoder/Decoder

Percent-encode or decode text and URLs, with a toggle between full-URI and query-parameter-safe encoding

Input
Output
Output will appear here
About URL Encoder/Decoder

Percent-encode or decode text and URLs entirely in your browser. Switch between full-URI encoding (which leaves characters like : / ? & intact) and component encoding (which escapes them, safe for a single query-parameter value), then decode any percent-encoded string back to plain text.

  • Toggle between full-URI and query-parameter-safe encoding
  • Decodes malformed percent-encoding with a clear error message
  • Runs entirely in your browser

Frequently asked questions

What's the difference between the two encoding modes?

Component encoding (encodeURIComponent) escapes reserved characters like &, ?, and / so a value is safe to place inside a single query parameter. Full-URI encoding (encodeURI) leaves those characters alone since they have meaning in a complete URL.

Why does decoding sometimes fail?

A "URI malformed" error means the input contains a stray % that isn't part of a valid percent-encoded sequence — check for typos or partially-encoded text.