~/tools/URL Encoder / Decoder
2026·09·08
toolEncodingfree

URL Encoder / Decoder

Percent-encode or decode URLs and query parameters.

Türkçe: URL Kodlama / Çözme

Waiting for input…
Output

Runs entirely in your browser. Nothing you paste is uploaded, logged, or stored.

What it does

Percent-encodes text so it can travel safely inside a URL or query string, and decodes encoded URLs back into readable text. You can choose component encoding (encodeURIComponent) for individual values or full-URI encoding (encodeURI) when you want to preserve the URL structure.

Component vs full URI

  • Component encoding escapes characters like & ? = / — use it for a single query value.
  • Full-URI encoding leaves the structural characters intact — use it for an entire address.

FAQ

What's the difference between the two encode modes?
Component mode (encodeURIComponent) escapes reserved characters like &, ?, and / so a value is safe as a single query parameter. Full-URI mode (encodeURI) keeps those structural characters so a complete URL still works.
Why do spaces become %20?
Spaces aren't allowed in URLs, so they're percent-encoded as %20 (or + in some form-encoding contexts). This tool uses the standard %20 encoding.

Other tools