Skip to main content

URL Decoder - Decode Percent-Encoded Strings

Paste a percent-encoded URL or query string and decode it back to readable text. Handles %20, %3A, and all other percent-encoded characters.

Runs in browser - Tool input is not submitted url decode percent-encoding developer

encodeURI

Encodes a full URL, preserving :/?#[]@!$&'()*+,;=

decodeURIComponent

Decodes any percent-encoded string back to its original form.

encodeURIComponent

Encodes everything including / - Best for query parameter values.

How to decode a URL-encoded string

Paste a percent-encoded URL, path, or query value into the input. The decoder turns sequences such as %20 and %26 back into readable characters. This is useful when debugging redirect URLs, analytics parameters, API requests, or form submissions.

Decode only the component you intend to inspect. A decoded ampersand or equals sign can change the meaning of a query string if the result is inserted into another URL without being encoded again. Malformed percent sequences are reported instead of silently changing the input. To prepare a value for transport, use the URL encoder. If the input uses entities such as & rather than percent sequences, use the HTML unescape tool.

Expose hidden delimiters

Reveal encoded ampersands, equals signs, slashes, and fragments before diagnosing how an application parsed a value.

Decode one component

Keep the URL structure separate from the value you inspect so recovered delimiters do not silently become syntax.

Reject malformed input

An incomplete or non-hex percent sequence is reported instead of being presented as a trustworthy decoded value.

How decoded characters can change a URL

Interpret the result inside its original component. A recovered delimiter may be ordinary data there, but syntax if you insert it into a new URL.

Sequence Decoded result Interpretation
%26 & Could split one query value into a second parameter
%3D = Could turn part of a value into a key-value boundary
%23 # Could begin a fragment and stop the remainder reaching the server
%2F / Could create another path segment when reused unencoded
%2B + Can be confused with a space by form-style decoders
%25 % May start another decoding pass and reveal double encoding

Related developer tools

Encode binary data and text to Base64 for safe transport
Convert special characters to entities for literal HTML display
Prettify JSON payloads you receive from URL-encoded forms
Build regex patterns for validating or extracting URL parts

Understand why an input passes or fails

These maintained explanations cover the behavior, limits, and decisions that the interactive result alone cannot show.