URL Decoder: Turn %20, %2F & %C3%A9 Back Into Text

URL Decoder: Turn %20, %2F & %C3%A9 Back Into Text

Paste a percent-encoded URL or query string and read it as plain text: %20 becomes a space, %C3%A9 becomes é, and + in a query becomes a space.

Updated November 2026

Reviewed by Rafael Duarte

Shift + Enter to Copy · Shift + ← → for tabs
Encoded URL
0 characters
Decoded Result
Speed
Instant
Privacy
Local Only

How the URL decoder works

Three steps from percent-encoded to readable

1. Paste the encoded string

A full URL, a query string fragment, or any percent-encoded value.

2. Read the decoded result

The result appears under Decoded Result as you type. Every %XX sequence turns back into its original character, multi-byte UTF-8 sequences are reassembled, and + after the ? becomes a space. With no ?, a + stays literal only when the input starts with https:// (or another scheme) or /; a loose fragment like a+b comes out as a b.

3. Copy it

Click Copy. Shift+Enter also copies, but only when the cursor isn't inside the text box: click outside it first.

What this URL decoder does

More than a bare decodeURIComponent() call

Handles %XX and +

Decodes percent-encoded sequences and also turns + in a query string back into a space, the way application/x-www-form-urlencoded data uses it, while leaving a + in a URL path alone.

Reassembles multi-byte UTF-8

Accented letters, CJK characters, and emoji made of several %XX bytes come back as a single, correct Unicode character.

Warns about malformed sequences

If a % isn't followed by two valid hex digits, the output stays empty and you get a warning instead of garbled text. The message doesn't say where the bad sequence is, so look for a stray % (like "50% off").

Swap & Encode

The Swap & Encode button opens the URL Encoder with the decoded text already filled in, so you can edit a value and encode it again.

Runs entirely in your browser

Decoding happens locally via decodeURIComponent() — nothing is sent to any server.

Examples

Common percent-encoded strings and what they decode to

Encoded input
Decoded output
hello%20world
hello world
%E2%82%AC100
€100
caf%C3%A9
café
search%3Fq%3Dhello%26lang%3Den
search?q=hello&lang=en
https%3A%2F%2Fsite.com%2Fsearch%3Fq%3Dhello%20world
https://site.com/search?q=hello world
a+b%3Dc
a b=c
/path/a+b?x=a+b
/path/a+b?x=a b
already%2520encoded
already%20encoded — double-encoded, decode again

When you'll reach for a URL decoder

The scenarios that come up most often

Debugging an API response

Headers like Location or Referer routinely arrive percent-encoded and unreadable as-is.

Reading raw server logs

Query strings in access logs turn from %3F noise into an actual sentence once decoded.

Inspecting a redirect chain

A redirect URL embedded inside another URL is almost always double-encoded — decode twice to see the real destination.

Working through an OAuth flow

Authorization codes and tokens show up percent-encoded in callback URLs — you need them plain to copy into a request.

Security review of HTTP requests

Encoded payloads in request parameters can hide injection attempts, and a suspicious link can hide its real destination. Both are only obvious once decoded (see how to spot phishing links).

Decoded output looks wrong? Start here

The mistakes that trip people up most

Double encoding

A string encoded twice needs two passes through the decoder — the first pass still leaves %XX sequences in the result.

+ isn't always a space

It only means space in application/x-www-form-urlencoded query strings. This decoder turns every + after the ? into a space. Without a ?, it keeps + only if the input starts with a scheme (https://) or /; a bare fragment such as a+b becomes a b. If your fragment really contains a plus sign, it should be encoded as %2B.

Malformed % sequence

A % not followed by two valid hexadecimal digits is invalid, so the whole decode fails and the output stays empty. A single stray % is enough, and the warning doesn't point to it: search the input for % signs that aren't followed by two hex digits.

Why decode a URL here

Every decode happens locally in JavaScript, right in your browser — nothing is uploaded, nothing is logged.

Correct multi-byte UTF-8 reassembly and proper handling of + as a space in query strings sidestep the two mistakes people run into most when they try to decode a URL by hand.

Quick Tools vs. the browser console

Same underlying function, a much faster workflow

Quick Tools
decodeURIComponent() in DevTools
Reassembles accents and emoji (UTF-8)
yes
yes
Treats + as a space
yes
no
Invalid sequence handling
warning, empty output
URIError exception
Nothing leaves your machine
yes
yes
No DevTools required
yes
no

Frequently asked questions

URL decoding converts percent-encoded %XX sequences back to characters. Base64 decoding converts a string made of A–Z a–z 0–9 + / characters back into its original bytes — they're unrelated formats. If your string looks like aGVsbG8=, use a Base64 decoder instead.

References

Related Tools