Skip to content
FizzKit

URL Encode / Decode

Encode text for safe use in URLs or decode percent-encoded strings back to readable characters. Choose between encodeURIComponent, encodeURI, application/x-www-form-urlencoded (space as +) and strict RFC 3986 (which also encodes ! ' ( ) *). Decoding unwraps every layer of double-encoding and reports how many it found, with precise positions for malformed escapes. The Query string table tab parses any URL into editable key/value rows with per-field encode/decode, sort, dedupe and rebuild. Handles UTF-8 correctly and warns about non-ASCII or punycode hostnames.

Runs locally in your browser
Paste long URLs or many lines — open fullscreen for room
Plain text
0 chars · 1 line
Encoded (encodeURIComponent)
Output will appear here…
Variant

Encodes every reserved character (/ ? # & = +) — the right choice for a single query value or path segment.

How to use URL Encode / Decode

  1. 1Pick Encode or Decode and paste your text or URL — the result appears as you type.
  2. 2Choose the variant in Options: encodeURIComponent for a single value, encodeURI for a whole URL, form for POST bodies and browser-style query strings, or RFC 3986 strict for OAuth-style signing.
  3. 3When decoding, leave "Decode all layers" on to unwrap double- or triple-encoded input; the stats show how many layers were found.
  4. 4Switch to the Query string table to parse a URL into key/value rows, edit or encode/decode individual fields, sort, dedupe, and copy the rebuilt URL.
  5. 5Turn on per-line batch to convert a list of values at once; Swap (⌘⇧S) flips direction with the current output.

About URL Encode / Decode

Encode text for safe use in URLs or decode percent-encoded strings back to readable characters. Choose between encodeURIComponent, encodeURI, application/x-www-form-urlencoded (space as +) and strict RFC 3986 (which also encodes ! ' ( ) *). Decoding unwraps every layer of double-encoding and reports how many it found, with precise positions for malformed escapes. The Query string table tab parses any URL into editable key/value rows with per-field encode/decode, sort, dedupe and rebuild. Handles UTF-8 correctly and warns about non-ASCII or punycode hostnames.

URL Encode / Decode is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

encodeURI preserves characters that give a URL its structure (: / ? # & =), so use it on a complete URL. encodeURIComponent encodes those too, which is what you want for a single query value or path segment.