URL-Decode a String

Turn a percent-encoded string back into readable text. The tool uses `decodeURIComponent`, so sequences such as `%20` become a space and UTF-8 percent sequences become their characters. There are no options: paste the encoded string and copy the result.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How to decode

1. Paste the encoded text. 2. Copy the decoded result.

`Lisbon%20caf%C3%A9` becomes `Lisbon café`. To encode text instead, use the URL-encode tool.

Privacy and limits

Decoding runs in this tab and is not uploaded. A malformed sequence, such as a lone `%` or an incomplete UTF-8 escape, can fail; fix the input and try again. This decodes a string, it does not fetch the URL.

Frequently asked questions

Is a plus sign turned into a space?

Not automatically. `decodeURIComponent` leaves `+` as a plus. Replace `+` with `%20` first if your string uses the form-encoding convention.

Is my text uploaded?

No.

What if decoding fails?

The input likely has a broken percent sequence. Check for a `%` that is not followed by two hex digits.

Can I decode a full URL with a query string?

You can paste it, but every `%` sequence in the string will be decoded. For editing protocol, host, path and query parameters separately, use the URL editor.

More Text Tools