Web Text Tools

URL Decode

Turn `%20` and `%C3%A9` sequences back into readable characters when inspecting links, logs, or API responses. After decoding a query string, use URL Encode if you need to safely re-encode it.

URL Decode

Decodes percent-encoded text โ€” invalid input shows an error.

Live

Examples

URL-encoded string to decode
Human-readable decoded text
Input: 0 Output: 0 Encoded: 0 Spaces: 0 Unicode: 0

URL decoding happens locally in your browser.

How to Use

  1. Paste a percent-encoded string from a URL bar, log file, or API response.
  2. View decoded plain text in the output panel โ€” errors appear for invalid sequences.
  3. Toggle Treat + as space when decoding form-encoded data.
  4. Copy readable text or pair with URL Encode to re-encode values.

Before and After Examples

How URL Decoding Works

Common Uses

Invalid or Broken Encoded Text

Valid

hello%20world

Invalid

hello%2

Broken

abc%ZZ

Malformed sequences may cause decoding errors.

Double Encoding

Some systems encode already encoded URLs.

hello%2520world

First pass

hello%20world

Second pass

hello world

Query String Examples

Popular Workflows

Real-World Examples

Notes & Limitations

Frequently Asked Questions

What if decoding fails?

Invalid or incomplete percent sequences trigger an error message. Check for truncated codes like hello%2 or invalid hex like abc%ZZ.

Are plus signs decoded as spaces?

When Treat + as space is enabled, plus signs convert to spaces โ€” common in form-encoded data. Disable it if + should remain literal.

Can I decode an entire URL?

You can paste a full URL or query portion. Decoding works on encoded segments; structure characters like https:// pass through unchanged if not encoded.

Does this support Unicode?

Yes. UTF-8 byte sequences decode to Unicode characters. For example, caf%C3%A9 becomes cafรฉ.

Can emoji be decoded?

Yes. Emoji encoded as UTF-8 percent sequences decode correctly. For example, Hello%20%F0%9F%98%8A becomes Hello ๐Ÿ˜Š.

What is double encoding?

Double encoding happens when an already encoded string is encoded again. hello%2520world needs two decode passes to reach hello world.

Can malformed text break decoding?

Yes. Incomplete sequences (hello%2) or invalid hex digits (abc%ZZ) cause decodeURIComponent to fail with an error.

Should I decode query parameters only?

Usually yes. Decode individual parameter values or query strings rather than re-processing an entire URL that may contain unencoded structure characters.

Does this upload my text?

No. URL decoding runs entirely in your browser โ€” nothing is sent to a server.

Can I download the result?

Yes. Use Download .txt to save the decoded string as a plain-text file.