A URL decode example converts percent-encoded URL text such as %20 back into readable characters.
In this Full URL example, the original input is https://example.com/search?q=blue%20tea&lang=en. The readable decoded output is https://example.com/search?q=blue tea&lang=en. Only the encoded space changes; the query marker, equals sign, and ampersand remain part of the address.
Use the URL Decoder in Decode mode to inspect text like this. The decoded form is best for reading and troubleshooting; if it will be sent in a live URL or API request, re-encode the space so it travels as %20 rather than as a literal space.

What the example shows
Percent-encoding represents data with a percent sign followed by two hexadecimal digits for each byte. This %XX form is part of the URI syntax defined by RFC 3986. In the example, %20 represents a space, while the visible question mark, equals sign, and ampersand are already valid URL structure.
- Original input: https://example.com/search?q=blue%20tea&lang=en
- Readable output: https://example.com/search?q=blue tea&lang=en
- Transport choice: keep the readable output for inspection, or encode it again before placing it back into a request.
Decoding makes the text easier to understand, but it does not guarantee that the result is safe in every URL position. A literal space inside a query value may be accepted by a browser, while a server, redirect, or API client can expect a percent-encoded value instead.
Decode a URL in four steps
The supported browser workflow converts pasted text without requiring a script or a separate application.
- Choose the scope. Select Full URL for a complete web address. Select URL component for one query value, path segment, or fragment.
- Choose Decode. The decoder reverses percent-encoding and displays the readable result; Encode performs the opposite operation.
- Paste the exact input. The result updates as you type or paste. If the text contains an invalid percent sequence, the tool shows a clear error rather than a damaged string.
- Review, then copy. Confirm that the decoded value makes sense in its original position, click Copy, and place it into the URL, request, or code where you need it.
Keep the chosen scope in mind throughout the task. Decoding a complete link and decoding one isolated value answer different questions, and changing modes can change how encoded reserved characters are handled.
Choose component or Full URL mode
Mode determines whether the input is treated as an isolated URL piece or as a complete address. This is more than a display setting because reserved characters such as &, =, /, ?, and # can act as URL syntax.
| Mode | Best input | Behavior |
|---|---|---|
| URL component | One query value, path segment, or fragment | Escapes every reserved character when encoding; decoding reverses component percent-encoding. |
| Full URL | A complete web address | Keeps structural characters such as :, /, ?, and # intact and escapes only unsafe characters. |
During decoding, component mode can reveal an encoded ampersand as a literal character, while Full URL mode can retain that encoded delimiter because it belongs to the address structure. Choose the mode that matches the boundary of the copied text rather than switching modes automatically.
Component mode is also strict when encoding. It escapes &, =, /, ?, and #, along with !, ', (, ), and *, to produce a portable value that is less likely to be interpreted differently by servers or signing schemes. Full URL mode is the better choice when the structure of the entire address must remain intact.
Handle Unicode percent groups
Text is encoded as UTF-8 before percent-encoding. One visible character can occupy several bytes, and every byte receives its own percent group. An accented letter may use two groups, while a four-byte emoji character uses four. The decoder combines those bytes and reconstructs the original character instead of treating each group as a separate symbol.
This UTF-8 step is why Chinese characters, accented letters, and emoji can survive a round trip without corruption. If the decoder reports an error near a multi-byte character, check whether the source was cut off before you processed it.
The browser methods behind the tool follow JavaScript's URI conventions; MDN's encodeURIComponent documentation explains how a component is escaped. The supported paste-and-copy workflow does not require a language-specific script.
Fix malformed percent sequences
A decoder cannot reconstruct missing bytes reliably. The tool stops with a clear error when it encounters a stray percent sign, a percent followed by non-hexadecimal characters, or an incomplete multi-byte sequence.
- A lone % is incomplete. If the source meant a literal percent sign, it should be encoded as %25.
- A sequence such as %zz is invalid. Every percent code needs two hexadecimal digits after the percent sign.
- A truncated sequence lacks required bytes. A cut-off UTF-8 character can contain valid-looking pairs but still fail when the character is incomplete.
- A copied log may be incomplete. Return to the original source instead of accepting a partially decoded result.
Do not repair malformed output by guessing which characters were removed. Locate the original encoded value, correct it there, and decode it again. Also note that percent decoding is not HTML form parsing: the underlying URI decoder does not turn a literal + sign into a space.
Apply decoding to common URL tasks
Decoded output is most useful for inspection, troubleshooting, and extracting human-readable information from links, tracking links, and API requests.
- Read a complete shared link: use Decode with Full URL mode to reveal readable content while retaining the address structure.
- Inspect one tracking or API parameter: use Decode with URL component mode when you copied only that parameter's value.
- Prepare plain text for a query value: use Encode with URL component mode so reserved characters cannot become unintended delimiters.
- Prepare a complete redirect or callback address: use Encode with Full URL mode to escape unsafe spaces and non-ASCII characters without disrupting the address structure.
Always preserve the original input and its position. A readable value may contain characters that were meaningful only because they were escaped, and replacing them with literal delimiters can change how the surrounding URL is interpreted.
Keep the decoded value in context
Treat a decoded result as a readable view of the source, not automatically as the final form of a request. Preserve the original alongside the output so you can compare the two, and re-encode any unsafe characters before transmitting the value again.
For an isolated query parameter, keep it isolated. For a complete address, preserve its structure. Those two rules explain why the same percent-encoded text can have different results in component and Full URL modes. When debugging, make one change at a time and decode again so you can identify which boundary produced the unexpected result.
The decoder also does not repair malformed bytes, fetch a shortened destination, or decide how a server should interpret a query. It performs the supported percent-encoding operation and reports invalid input instead of hiding the problem.
Process the text locally
The URL Decoder performs encoding and decoding in plain JavaScript inside your browser. Pasted text is not uploaded, no account is required, and no server receives the input. The tool keeps working offline after its page has loaded, so internal links, tokens, and personal data remain under your control.
Its supported scope is percent-encoding for URL components and complete addresses, in either direction. That makes it suitable for reading encoded values and preparing safe URL text, while leaving invalid sequences and application-specific URL rules visible for you to resolve.
Related reading: UTF8 Decode Explained: How Bytes Become Unicode.
Related reading: Vigenere Cipher Decoder for Large Text: Complete Workflow.