Skip to content
All tools are 100% free — no sign up, nothing saved 100% free · nothing saved
Try a Tool

URL Encoder/Decoder – Free, No Sign-Up

URL Encoder/Decoder

Encode a web address or any text into a safe URL, or decode a percent-encoded link back to plain text, free and instant. UTF-8 safe, so spaces, accents and emoji work too.

A web address can only hold certain characters safely. This tool turns spaces, accents and other unsafe characters into percent codes like %20, so a link survives an email, a chat message or a form without breaking. Decoding does the reverse, turning the codes back into readable text.

How to Use the URL Encoder/Decoder

This free tool turns a web address or any text into a safe URL form, and turns a percent-encoded address back into plain readable text, right in your browser. Paste your link, pick Encode or Decode, and the result appears at once, with no sign-up and nothing to install.

  1. Type or paste your text. Put a full web address, part of a link, or any plain text in the first box. A whole paragraph works too.
  2. Pick a direction. Encode is the default: it turns unsafe characters into percent codes. To go the other way, click “Decode URL” first, then paste your encoded link.
  3. Read the result as you type. The result box updates live, so there is no button to press. A count under the result box shows how long the output is.
  4. Check a full link stays a link. When you encode a whole web address, the colons, slashes and question marks stay as they are, and only unsafe characters, such as spaces and accents, are encoded.
  5. Copy the result. Click “Copy result” to copy the output, then paste it into an email, a chat message, a form or a piece of code.
  6. Fix an error if one appears. If you paste text with a broken percent code while decoding, a red message appears under the result box. Check for a stray percent sign or a code with bad letters, and the result will appear once you fix it.

That is all there is to it. Paste, read the result, copy, and your link is ready to share.

What Is URL Encoding?

A web address can only hold certain characters safely. Letters, numbers and a small set of marks such as the hyphen, the underscore and the dot travel fine. Everything else is a risk. A space can split a link in two, a question mark can look like the start of a new query, and an accent may not survive the trip at all. URL encoding fixes this by swapping each unsafe character for a safe code made from a percent sign and two hex digits.

The most common example is the space, which becomes %20. That is why you often see %20 in a link to a file or a page with a space in its name. The two digits after the percent sign are the hex value of the byte that holds the character. A space is byte 32, and 32 in hex is 20. The same rule covers every other character that needs encoding.

Encoding is not the same as hiding something. Anyone can decode a percent-encoded link in seconds, with this tool or any other. It does not make a link private or secure. It only changes how the characters look so a link can travel through email, chat apps, forms and code without being cut or changed on the way. A link that is encoded correctly arrives whole. One that is not encoded may arrive broken.

How Percent-Encoding Works

Percent-encoding works one byte at a time. First the text is turned into bytes using UTF-8, the character set that covers almost every letter, accent and symbol in use today. Plain English letters and digits need no encoding, because they are already safe in a URL. Any byte that is not on the safe list is written as a percent sign followed by two hex digits.

Accented letters show why UTF-8 matters. The letter e with an accent, as in cafe, looks like one character, but UTF-8 stores it as two bytes, C3 and A9, so the word becomes caf%C3%A9. The same rule handles emoji, Arabic, Chinese and every other script. Decoding runs the steps in reverse.

CharacterEncoded formWhere it appears
Space%20File names, page titles, search terms
?%3FA question mark inside a search term or value
&%26An ampersand inside a value, not between values
=%3DAn equals sign inside a value, not as a separator
#%23A hash inside a value, not as a page anchor

Notice the pattern. The characters on the left all mean something special inside a URL. A question mark starts the query part of a link, an ampersand separates one value from the next, and a hash jumps to a section of a page. When one of these marks is part of the data itself, it has to be encoded. If it is not, the browser reads it as structure and the link means something different.

Where URL Encoding Is Used

Search boxes are the most common place. When you type words with spaces into a search box, the browser encodes the spaces before it sends the query. A search for “blue shoes” becomes a link with blue%20shoes in it. You rarely see this, because the browser hides the encoded form. The same thing happens when a form sends your answers to a server: spaces, accents and special marks are encoded first, so the server gets the exact text you typed.

Sharing links is another daily use. A link to a document called “My Report.pdf” holds a space, and a space in a chat message or an email can break the link, because many apps treat the space as the end of the address. Encoding the space to %20 keeps the link in one piece, so the person who clicks it opens the right file.

Developers meet URL encoding in code as well. When a program builds a link with user input in it, such as a name or a search term, it encodes the input before joining it to the link. Tracking links, login redirects and API calls all rely on this. If the input is not encoded, one stray ampersand or question mark can split the link and send the user to the wrong place.

Common Mistakes to Avoid

  • Encoding a whole link twice. Running an already encoded link through the encoder again turns %20 into %2520, because the percent sign itself gets encoded. If your result is full of %25, decode once and check.
  • Encoding the structure of a link. A full web address needs its colons, slashes, question marks and ampersands to work. Only the unsafe characters inside the values need encoding. This tool keeps the structure intact and encodes only what is unsafe.
  • Leaving a space in a shared link. A raw space is the most common reason a shared link breaks. Many apps cut a link at the first space, so the person who clicks it lands on a page that does not exist. Encode the space before you share.
  • Decoding text that was never encoded. Plain text with no percent codes decodes to itself, which is harmless, but a stray percent sign will stop the decoder. A code such as “SAVE20%OFF” is not encoded text. Remove or fix the percent sign before you decode.
  • Trusting a plus sign to mean a space. In form data, a plus sign often stands for a space, but in a web address it does not. A plus in a link means a plus, and the decoder reads it as a literal plus sign.

Frequently Asked Questions

Is the URL Encoder/Decoder free?

Yes. It is free to use, with no sign-up and no account needed. You can encode and decode as much as you like.

What is the difference between encoding a whole URL and encoding part of one?

A whole URL keeps its structure: the colons, slashes, question marks and ampersands stay as they are, and only unsafe characters such as spaces and accents are encoded. A single value, such as a search term, is encoded more strictly, so even marks like ? and & become codes. This tool encodes a whole URL, so a complete link stays a working link.

Why does a space become %20?

A space is not allowed in a web address, because many systems treat a space as the end of the address. The percent code for a space is %20, because a space is byte 32, and 32 written in hex is 20. The browser reads %20 and turns it back into a space.

Can I encode a full web address, or only part of one?

You can paste a full web address. The tool encodes only the unsafe characters and leaves the structure alone, so the result is still a link you can click or share. To encode one value only, such as a file name with a space in it, paste just that value.

What happens if I paste invalid percent-encoded text?

The tool shows a clear error message under the result box and leaves the result empty. The usual cause is a stray percent sign, or a percent code with letters that are not hex digits, such as %ZZ. Fix those problems and the decoded text will appear.

Does the tool save my text or my links?

No. Everything runs in your browser. Nothing you type is sent to a server or stored anywhere.