Skip to the content

Contact usFree tools · No signup · Files stay on your device

Developer Tools

What %20, %3A and %2F mean in a link, and how to read it

What %20, %3A and %2F mean in a link, and how to read it

Open a link from a search result, a WhatsApp message or a form and you may see something like https%3A%2F%2Fexample.com%2Fform%3Fname%3DRahim%20Uddin. It looks like damage, but it is a normal, reversible way of writing text. Every % followed by two characters stands for one ordinary character. With the free URL Decoder you can turn the whole thing back into plain text in a second, and this guide shows how to read the codes yourself.

A web address may only contain a small, safe set of characters: letters, digits and a few symbols. Everything else, such as a space, a Bangla letter or an & that is part of a name, has to be written in another way. The method is called percent-encoding.

The rule has two steps. The character is turned into one or more bytes, using UTF-8. Then each byte is written as a % and its value in hexadecimal, which uses the digits 0 to 9 and the letters A to F. A space is byte 32, which is 20 in hex, so a space becomes %20.

You do not need to calculate anything to read a link, because a handful of codes cover nearly everything you will meet.

The codes you will see most often

Code Character Where you meet it
%20 space file names, page titles, search words
%3A : the colon after https in a link placed inside another link
%2F / the slashes of an address placed inside another link
%3F ? the question mark that starts a query
%3D = the equals sign between a name and its value
%26 & the separator between two parameters
%23 # the hash that starts a page section
%25 % the percent sign itself
%2B + a real plus sign
%40 @ the at sign in an email address
%2C , a comma
%22 " a double quote

Codes can be written in capitals or in small letters, so %2f and %2F mean the same thing.

Take this link:

https%3A%2F%2Fexample.com%2Fform%3Fname%3DRahim%20Uddin%26class%3DHSC

Go through it from the start and swap each code using the table.

  • https stays as it is.
  • %3A is a colon, so you have https:.
  • %2F%2F is two slashes, so you have https://.
  • example.com stays.
  • %2F is a slash, so the path starts /form.
  • %3F is a question mark, which starts the query.
  • name stays, %3D is an equals sign, Rahim stays, %20 is a space, Uddin stays.
  • %26 is an ampersand, which starts a second parameter.
  • class, %3D and HSC give class=HSC.

The result is https://example.com/form?name=Rahim Uddin&class=HSC. Once you know that the first part is simply a link written out in codes, the pattern is easy to spot.

Decoding it with the tool

  1. Open URL Decoder and paste the link into the box labelled "Percent-encoded text".
  2. Read the Result panel, which shows the plain text.
  3. Look at the URL parser below. Because the decoded text is a complete address, it lists the protocol https:, the host example.com, the path /form, 2 query parameters and a table: name is Rahim Uddin and class is HSC.

Under the panels, the figure Escapes decoded counts the codes in your input. For this link it shows 9: three at the start (%3A, %2F, %2F), then %2F, %3F, %3D, %20, %26 and %3D.

Why some characters are encoded and others are not

Letters, digits and the four marks -, _, . and ~ are never encoded, because they are always safe. A second group are the characters that give a link its structure: :, /, ?, #, & and =. In a normal link they are written plainly, because they are doing their job. They are encoded only when they must be treated as ordinary text, for example when a whole address sits inside a value, or when a person's name or a search term contains an &.

That explains the example above. The link starts with https%3A%2F%2F because the entire address was packed into one value. If you see a link with https:// written plainly, but spaces as %20, that is the common, less extreme case.

Bangla and other scripts

Letters outside plain English are encoded as several bytes. A Bangla letter uses three, so the word বই becomes %E0%A6%AC%E0%A6%87: two letters, six bytes and 18 characters. Bangla and Hindi letters give codes that start with %E0, while accented European letters like é use two bytes that start with %C3, as in %C3%A9. You do not need to remember that. The decoder reads the bytes as UTF-8 and writes the letters back.

Two things that can look wrong

A + where you expected a space

In a query string, a plus sign often stands for a space, so q=ssc+result means the search ssc result. In the URL Decoder this is controlled by the option Treat + as space (form data), which is on by default. Untick it only if the plus is part of the data.

A code that begins with %25

%25 is the percent sign. If you see %2520, the code %20 was encoded a second time: %25 followed by 20. The decoder shows a note, "The result still contains % escapes — the text may have been encoded twice", and a Decode again button. Press it once to reach the real text. The reverse mistake, encoding a link twice, is covered in the URL Encoder guide.

When you need to write the codes, not read them

If you are building a link and have to make a value safe, use URL Encoder in its Component / value mode, which encodes a value so that &, = and / inside it cannot break the link. For a readable address that needs no codes at all, the Slug Generator turns a title into a clean, lower-case slug with hyphens.

Quick checklist

  • % plus two characters is one byte: %20 is a space.
  • %3A, %2F, %3F, %3D, %26 are the punctuation of a link written as text.
  • Bangla letters take three codes each.
  • %2520 means encoded twice. Decode again.
  • Decode a link before you trust it, and read the host name first.

Frequently asked questions

What does %20 mean in a URL?
It is a space. The % starts a code, and 20 is the hexadecimal number of the space character, which is 32 in ordinary counting. A browser shows it as a space, and a link such as my%20file.pdf stands for the file name my file.pdf.
Why do I see %3A and %2F where there should be a colon and a slash?
The link was encoded as a whole, so even its punctuation was written as codes: %3A is a colon and %2F is a slash. This happens when a complete address is placed inside another link, for example as a redirect value.
Is it safe to click a link full of % codes?
The codes themselves are harmless, they only hide ordinary characters. Whether the destination is safe is a separate question. Decode the link first so you can read the real address and the domain before you open it.
Why do Bangla words turn into very long codes?
Each Bangla letter takes three bytes in UTF-8, and each byte is written as a % and two hex digits. So one letter becomes nine characters, and a short word becomes a long run of % codes.
What is the difference between %20 and +?
Both can stand for a space. %20 works everywhere in a URL, while + means a space only in form-style query strings. In a path, a + is a real plus sign.
Found this useful? Share it

Tools in this guide

Main tool

URL Decoder

Turn unreadable links full of %20, %3A and %2F back into plain text.

Open tool

URL Encoder

Make any text safe to put in a URL.

Open tool

Slug Generator

Convert any title into a short, readable URL slug — accents removed, symbols cleaned up and words joined with hyphens.

Open tool

Back to all guides & blog