How to decode a URL
- Copy the link or the text with codes like
%20or%E3%81%82in it. - Paste it into the box above, or click Paste. It decodes as you type.
- Pick what to decode. Everything turns every code into text. Whole link
keeps the codes for
/,?,&and#, so the link still works. - Copy the result. Still see codes like
%20? Click Decode again.
Click Try an example to load a link copied from Japanese Wikipedia:
Copiedhttps://ja.wikipedia.org/wiki/%E6%9D%B1%E4%BA%AC%E9%83%BDDecodedhttps://ja.wikipedia.org/wiki/東京都
How to encode text for a URL
- Click Encode at the top of the box.
- Paste your text: a search term, a file name or a whole link.
- Pick what to encode. Everything is for one value that goes inside a link, like
after
?q=. Whole link is for a full address:://,/,?and&stay as they are, and so do codes already in it. - Copy the result and put it in your link.
Textcafé & barEncodedcaf%C3%A9%20%26%20bar
Full URL or part of a URL?
Some characters give a link its shape: / splits the path, ? starts the search part,
& separates the values and # jumps within the page. When one of them is part of
a value, it is written as a code, like %26 for &. Decode that code and the
link can change meaning. Here's a search for "café & bar":
Copiedhttps://example.com/search?q=caf%C3%A9%20%26%20bar Everythinghttps://example.com/search?q=café & bar Whole linkhttps://example.com/search?q=café %26 bar
With Everything, the & now looks like the start of a new value, so the site would
search for "café" only. Whole link keeps %26, and the link still searches for the
whole phrase. Use Everything to read a value, or a link that sits inside another link; use
Whole link when you want a readable link that still works. For developers: they match JavaScript's
decodeURIComponent and decodeURI, except that a broken code never stops the
tool.
Read links in Japanese, Korean or Chinese
A link can only carry plain letters, digits and a few symbols. Every Japanese, Korean or Chinese character
becomes three codes, so one word turns into a long string of %E3, %EC and
%E5. Browsers often show the words in the address bar, then copy the link with the codes.
Paste one here and you can read it again:
| Language | Link as copied | Decoded |
|---|---|---|
| Japanese | https://ja.wikipedia.org/wiki/%E6%9D%B1%E4%BA%AC%E9%83%BD | https://ja.wikipedia.org/wiki/東京都 |
| Korean | https://ko.wikipedia.org/wiki/%EC%84%9C%EC%9A%B8%ED%8A%B9%EB%B3%84%EC%8B%9C | https://ko.wikipedia.org/wiki/서울특별시 |
| Chinese | https://zh.wikipedia.org/wiki/%E8%87%BA%E5%8C%97%E5%B8%82 | https://zh.wikipedia.org/wiki/臺北市 |
The decoded link still works: paste it into the address bar and the browser encodes it again for you. Emoji decode too; most are four codes each.
What %20, %2F and + mean
Each code is a % sign and the character's number in hexadecimal. These are the ones you'll see
most:
| Code | Character | Name | Kept in Whole link mode |
|---|---|---|---|
%20 | (space) | Space | No |
%22 | " | Double quote | No |
%23 | # | Hash | Yes |
%25 | % | Percent sign | No |
%26 | & | Ampersand | Yes |
%2B | + | Plus | Yes |
%2C | , | Comma | Yes |
%2F | / | Slash | Yes |
%3A | : | Colon | Yes |
%3D | = | Equals | Yes |
%3F | ? | Question mark | Yes |
%40 | @ | At sign | Yes |
And +? In the search part of a link made by a form, like ?q=tokyo+trip, a plus means
a space. Everywhere else it is just a plus, and a real plus inside a value is written %2B. Tick
Read + as a space when you decode a search link.
Why some links won't decode
- A broken code. A lone
%, as in "100%", or a link cut off halfway through a character, like%E3%81without its third code. The tool leaves these exactly as they are and tells you how many it skipped, so the rest still decodes. - An old encoding. The tool reads UTF-8, which almost every site uses today. Some older Japanese and Korean pages used Shift_JIS or EUC-KR, and their codes stay as they are.
- Encoded twice. When a link is encoded a second time, its
%signs become%25. One decode gives you codes again; click Decode again for the text:
CopiedTrip%2520plan.pdf DecodeTrip%20plan.pdf AgainTrip plan.pdf
More for your links
Decoded a link and found utm_source or fbclid in it? The
Link Cleaner takes the tracking off. Got a page or an email full of links?
The URL Extractor pulls every one out. And for the links you want to keep,
here's how to save links from any app on your
phone.
Frequently asked questions
How do I decode a URL?
Paste the link or text into the box above. The codes like %20 and %E3%81%82 turn back into readable text straight away. Copy the result, or switch to Encode to go the other way.
What does %20 mean in a URL?
It is a space. Links can’t hold spaces, so a space is written as %20: the % sign and the character’s code in hexadecimal. A slash is %2F, a question mark %3F and an ampersand %26. In search links a space is often written as + instead.
Why is my link full of %E3%81 codes?
It has Japanese, Korean, Chinese or other non-Latin letters in it. A link can only carry a small set of plain characters, so each of those letters is sent as a few %XX codes: three for a Japanese, Korean or Chinese character. Browsers often show the words in the address bar but copy the link with the codes. Paste it here to read it.
What is the difference between decoding a whole link and everything?
Everything decodes every code, which is what you want for a single value, like a search term or a link taken out of another link. Whole link leaves the codes for / ? : & = + # and a few others encoded, so the link still goes to the same page. They work like JavaScript’s decodeURIComponent and decodeURI.
Why won’t part of my link decode?
A code that isn’t complete or isn’t valid text stays as it is, so nothing gets mangled: a lone % sign, a link that was cut off in the middle of a letter, or an old page that used Shift_JIS or EUC-KR instead of UTF-8. If the result still shows codes like %20, the link was encoded twice: click Decode again.
How do I encode text for a URL?
Click Encode and paste the text. Everything mode encodes it as one value, ready to put after = in a link. Whole link mode encodes a full address but keeps :// / ? & and the codes already in it, so the link keeps working.
Is it private? Is my text uploaded?
No, nothing leaves your browser. The links and text you paste are never sent to a server or saved, and they’re gone when you close the tab.