Convert percent-encoded URLs, query strings, and form data back into human-readable text. Supports Component (decodeURIComponent) and Complete URL (decodeURI) modes with instant live preview.
Decode percent-encoded sequences (such as %20, %26, %3D, %2B), query strings, and plus signs into readable text. Choose between component-level parameter decoding and complete-URL preservation.
Follow these 5 simple steps to decode percent-encoded URLs, query string parameters, and form-encoded data back into readable text:
Paste your percent-encoded URL, query string, or tokenized text into the left input textarea. You can also upload a .txt or .url file directly.
Choose between Component Mode (for individual parameter values, decoding all tokens) and Complete URL Mode (preserving http://, ?, &, #).
If your string comes from a web form (application/x-www-form-urlencoded), select Treat + as space to convert plus signs to spaces. Otherwise, leave it as literal plus.
With Live Auto-Decode enabled, results appear instantly as you type. Or click the primary Decode URL button to perform manual decoding.
Click Copy to copy the decoded output directly to your clipboard, or click Download to export the readable text as a url-decoded.txt file.
Review the real-time statistics grid showing input/output character counts, percent tokens decoded, word counts, and plus signs replaced.
JavaScript provides two distinct standard decoding functions: decodeURIComponent() and decodeURI(). Choosing the correct mode is critical when processing web addresses and API payloads:
Designed for individual parameter keys, parameter values, header contents, and arbitrary data payloads.
%2F into /, %3F into ?, %26 into &, and %3D into =.q=coffee%26tea → coffee&tea.Designed for complete web links (Uniform Resource Identifiers) containing protocols, domains, paths, query strings, and fragments.
%23 (#), %26 (&), %2F (/), %3A (:), %3D (=), and %3F (?) encoded.%20), accents (%C3%A9), and multilingual Unicode characters without breaking query delimiters.https://example.com/caf%C3%A9?user=1.
In standard URI percent-encoding (RFC 3986), a space is encoded as %20 and a literal plus sign is encoded as %2B. However, in legacy HTML form submissions (application/x-www-form-urlencoded), spaces are encoded as literal plus signs (+). Standard JavaScript decodeURIComponent() does not convert + into a space. If your text originated from a web form or query string with plus signs representing spaces, enable the Treat + as space option in this tool!
Below is a quick reference guide of the most common percent-encoded sequences, their decoded character equivalents, ASCII hexadecimal codes, and their semantic meaning in URLs:
| Percent Token | Decoded Char | Hex Code | Category | Description / Function in URLs |
|---|---|---|---|---|
%20 |
[space] | 0x20 |
Whitespace | Standard RFC 3986 space character |
+ |
[space] (if enabled) | 0x2B |
Form Space | Form-encoded space (application/x-www-form-urlencoded) |
%2B |
+ |
0x2B |
Reserved | Literal plus sign (never converted to space) |
%26 |
& |
0x26 |
Reserved | Query parameter delimiter (separates key=value pairs) |
%3D |
= |
0x3D |
Reserved | Query assignment operator (binds key to value) |
%3F |
? |
0x3F |
Reserved | Query string initiator (separates path from query) |
%23 |
# |
0x23 |
Reserved | Fragment identifier / anchor delimiter |
%2F |
/ |
0x2F |
Reserved | URL path segment separator |
%3A |
: |
0x3A |
Reserved | Protocol separator (e.g., https:) and port prefix |
%25 |
% |
0x25 |
Escape Indicator | Percent character itself (must be encoded to avoid ambiguous tokens) |
%40 |
@ |
0x40 |
Reserved | Userinfo separator in URLs (e.g., user@host) |
%24 |
$ |
0x24 |
Sub-delimiter | Dollar sign, commonly used in pricing and API filters |
%C3%A9 |
é |
0xC3 0xA9 |
UTF-8 Multi-byte | Accented e (2-byte UTF-8 sequence) |
%F0%9F%9A%80 |
🚀 |
0xF0 0x9F 0x9A 0x80 |
UTF-8 Emoji | Rocket emoji (4-byte UTF-8 sequence) |
Important Security Distinction: URL encoding (percent-encoding) is an encoding format designed solely for safe transport of non-ASCII and reserved characters over HTTP/URI protocols. It is not encryption. Anyone can decode a percent-encoded string instantly using any standard tool. Never place confidential passwords, credit card numbers, or sensitive API secrets into URL query strings relying on percent-encoding for confidentiality.
All decoding operations are executed exclusively within your web browser using JavaScript. No input text, query parameters, or decoded outputs are ever uploaded to our servers, logged to databases, or transmitted to third parties.
The tool strictly outputs plain text via textarea elements and prevents HTML script injection (XSS). Even if decoded strings contain raw <script> tags or HTML markup, they are safely rendered as text without execution.
Find authoritative answers to common questions regarding URL percent-decoding, character sets, and standards:
%20, %26, or %3D) back into their original human-readable characters (spaces, ampersands, equals signs, etc.). It restores query parameter values, URL paths, and form-encoded data to their readable state.
20. Since URLs cannot contain literal spaces, RFC 3986 requires spaces to be represented as %20. Decoding %20 restores the original space character.
decodeURIComponent() decodes every percent-encoded character, including reserved URL delimiters like /, ?, &, =, and #. It is meant for query parameter values. In contrast, decodeURI() leaves structural delimiters intact so that a full URL remains structurally valid while decoding spaces, paths, and non-ASCII characters.
application/x-www-form-urlencoded), spaces are traditionally replaced with + signs. However, in standard RFC 3986 URI encoding, a plus sign is a literal plus and spaces are %20. Our tool provides a dedicated Treat + as space toggle so you can decode both form-encoded and standard RFC 3986 strings correctly.
https://), query delimiters (? and &), and fragment hashes (#) are preserved and not destroyed by premature decoding.
URIError: URI malformed when encountering incomplete tokens (like % or %2) or invalid hexadecimal pairs (like %GG). Our tool includes an intelligent Lenient Recovery mode that gracefully decodes all valid portions while preserving unparseable percent tokens without crashing.
%C3%A9 for é, or %F0%9F%9A%80 for 🚀). Our tool fully decodes multi-byte UTF-8 sequences for Arabic, Chinese, Japanese, Cyrillic, Hindi, and emoji glyphs accurately.
%20 becomes %2520). By setting Decoding Passes to Double Pass, the tool applies two consecutive decoding cycles to return the original unencoded text.
Enhance your web development workflow with our suite of free online text and encoding utilities: