URL Encoder / Decoder

Percent-encode text for safe URLs, decode encoded URLs back, and pull query strings apart into a readable table.

encodeURIComponent
β€”
encodeURI
β€”
Advertisement

How to use URL Encoder

  1. Paste the text or URL.
  2. Pick Encode or Decode β€” both variants (component and full URI) are shown.
  3. 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.

Like this tool?

Get Very Useful Tools Pro β€” one $6/month subscription for all tools: ad-free once ads launch, plus bigger batches and higher limits.

Go Pro

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.

Read the in-depth guide: How URLs Work β†’