URL Encoder & Decoder
Encode special characters with percent-encoding or decode URLs back to readable text — with strict RFC 3986 and query parameter breakdown.
Query String Breakdown
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
The URL Encoder & Decoder converts characters into safe percent-encoded format for web addresses and query parameters, and reverses encoded URLs back into readable plain text. It handles component encoding, full URI encoding, form-data formatting and full UTF-8 Unicode characters without mangling accents or emoji.
Also on Txtset: encode and decode Base64 strings · percent-encode URLs and parameters.
Web servers and browsers require reserved characters in query strings (such as &, =, ?, /, and spaces) to be percent-encoded as ASCII hex pairs (like %20 for spaces and %26 for ampersands). Standard JavaScript encodeURIComponent omits sub-delimiters like !'()*; this tool offers a Strict RFC 3986 mode to ensure complete compatibility with strict API gateways and OAuth signers.
When you paste a full web address, the built-in Query String Breakdown inspects and decodes every query parameter into an organized table showing parameter keys and values clearly.
How to use
- Choose your operation: Encode or Decode.
- Select your target scope: 'Query value / Component' for parameter values, or 'Whole URL' to preserve address structure.
- Toggle 'Strict RFC 3986' or 'Form style' (+ for spaces) as needed.
- Type or paste your text or URL into the input area.
- Copy the processed output or review the parsed query string breakdown table below.
Examples
Encoding “hello world & welcome” produces “hello%20world%20%26%20welcome”.
Encoding “user(123)!” in strict RFC 3986 mode produces “user%28123%29%21” instead of leaving brackets unescaped.
Pasting “https://example.com/search?q=apple%2Bbanana&hl=en” decodes the query and lists q and hl in the parameters table.
In application/x-www-form-urlencoded mode, spaces convert to “+” rather than “%20”.