Encoding Tools

URL Decode

Decode percent-encoded text and report incomplete or invalid sequences clearly.

Press Ctrl / ⌘ + Enter to run
Read-only result

Decode percent-encoded text and report incomplete or invalid sequences clearly.

What this tool does

URL Decode has a one-to-one correspondence with the encoding page mode. Component mode calls decodeURIComponent; full URL mode calls decodeURI to avoid unnecessarily restoring preserved delimiters. Invalid % sequences are captured and displayed on the page.

  • The input URL will not be navigated to, requested, or validated.
  • Error UTF-8 percent sign sequences are not silently replaced.
  • The plus sign will not automatically change to a space because this page uses standard URI decoding rules.

How to use it

  1. Paste percent-encoded text.
  2. Select the mode corresponding to the original encoding method.
  3. Click "URL Decode".
  4. View results or invalid encoding prompts.

Common uses

  • Read the query parameters in the log.
  • Recover encoding paths containing Chinese or Japanese characters.
  • Troubleshoot incomplete % or incorrect UTF-8 sequences.

URL Decode Features

Decodes percent sign sequences and provides friendly errors if the encoding is incomplete or invalid. It is suitable for daily development, debugging, data sorting and code optimization scenarios. The processing results can be directly viewed, copied or downloaded.

FAQ

Why does entering a separate % result in an error?

The percent sign must be followed by two hexadecimal digits; incomplete sequences are not valid URL encodings.

Why doesn't the plus sign turn into a space?

decodeURIComponent does not treat + as a space. If the source is form encoding, it needs to be clearly processed according to the form rules first.

Will decoding access this URL?

No. Input is always treated as text only.

Back to Developer Tools