URL Encoder / Decoder
Percent-encode text for safe URLs, decode encoded URLs back, and pull query strings apart into a readable table.
How to use URL Encoder
- Paste the text or URL.
- Pick Encode or Decode β both variants (component and full URI) are shown.
- If the input contains ?key=value pairs, the parsed table appears below.
encodeURIComponent escapes everything that could break a URL segment (including & ? = /), while encodeURI keeps URL structure intact. Knowing which one you need fixes most "broken link" bugs.
More tools on Dev Toolbox
FAQ
Which encoder should I use?
Use Component encoding for query values and path pieces; use full-URI encoding only for a complete URL you do not want to break.
Why does + appear instead of %20?
+ is the form-encoding convention. This tool outputs standards-compliant %20; most servers accept both.
Does it handle emoji?
Yes β all Unicode is percent-encoded as UTF-8 bytes and decoded back losslessly.
Go deeper: how URLs work
Every link is a small instruction manual: scheme, host, port, path, query and fragment. This guide explains each part and why some characters must be percent-encoded.