Skip to content

All tools

URL Encoder

Encode or decode text for use in web links.

  • 100% free
  • Runs in your browser

Mode

0 characters

Last reviewed by the OnlineToolPro team

What is the URL Encoder?

Web addresses can't contain spaces or certain symbols, so they're written as percent codes like %20. Encode text to put it safely in a URL, or decode a messy link to read it.

How it works

How to use the URL Encoder

3 simple steps. No experience needed.

What can you use it for?

  • Put a search term or email address into a link.
  • Read a long tracking link full of %20 codes.
  • Debug query parameters in an API call.

Encoding a value vs a whole URL

When you put text into a single query parameter — a search term or a redirect address — every special character must be encoded, including / ? & and =. When you encode a complete address, those characters must stay as they are so the URL still works. The two modes handle each case.

Reading a messy link

Decoding turns codes like %20 (space), %2F (/) and %26 (&) back into readable characters, which helps when checking tracking links or debugging redirects.

FAQ

Frequently asked questions

What's the difference between the two encode options?

By default every special character is encoded (right for a single parameter). The other option keeps a full address readable by leaving characters like / and ? alone.

Why is a space sometimes + and sometimes %20?

Both mean a space. + is used in HTML form data, while %20 works everywhere in a URL, so %20 is the safer choice.

Can it decode emoji and accented letters?

Yes. They're encoded as UTF-8 bytes (é becomes %C3%A9) and decoded back to the original characters.

Other tools you might find useful next.

More Developer Tools

Format, convert and check code and data. 9 free tools.

Browse Developer tools
Other categories:YouTubeTextImagesPDFs