Skip to content
APK Peer

URL Encoder & Decoder

Free · runs in your browser · nothing uploaded

Quick answer

This URL encoder converts text into percent-encoded form, so spaces, symbols and non-English characters can be used safely in web addresses and query strings. It also decodes encoded URLs, like those full of %20 and %3D, back into readable text. Choose whether to encode a single value or keep a full URL's structure.

69 characters

How to encode or decode a URL

  1. Choose Encode or Decode.
  2. Paste your text or URL into the Input box.
  3. When encoding a complete web address, tick Keep URL structure so characters like /, ? and & stay as they are.
  4. Copy the result.

What URL encoding does

Web addresses can only contain a limited set of characters. Everything else, such as spaces, quotes, accented letters and emoji, has to be written as a percent sign followed by the byte value in hexadecimal:

CharacterEncoded
space%20
&%26
=%3D
?%3F
é%C3%A9

This is called percent-encoding. Decoding reverses it, turning %20 back into a space. The decoder also turns + into a space, because HTML forms use + for spaces in query strings.

Encode a value, or a whole URL?

This is the most common mistake. If you're building a link with a search term like apps & games, encode only the value:

https://example.com/search?q=apps%20%26%20games

If you encoded the whole URL with the value already inserted, the & would be treated as the start of a new parameter and the search would break. Use Keep URL structure only when you have a complete address that's already correct apart from a few unsafe characters, such as spaces.

Common uses

  • Building share links and deep links for apps.
  • Reading tracking links and redirect URLs, which often contain another encoded URL inside them.
  • Debugging API requests where parameters aren't arriving as expected.

To turn a title into a clean, readable address rather than an encoded one, use the slug generator. For encoding data rather than links, use the Base64 encoder.

Everything runs in your browser; nothing is uploaded.

Frequently asked questions

What does %20 mean in a URL?

%20 is the percent-encoded form of a space. URLs can't contain spaces, so they're replaced with %20, or sometimes a plus sign in query strings. This tool decodes both back to normal spaces.

Should I encode the whole URL or just a value?

Encode just the value you're inserting, such as a search term, so characters like & and = inside it don't break the link. Use Keep URL structure only when encoding a complete address that's already shaped correctly.

Why does decoding show an error?

A percent sign must be followed by two hexadecimal digits that form valid UTF-8. A stray % or a cut-off sequence can't be decoded. Check the URL wasn't truncated when it was copied.

Last updated by the APKPeer Editorial Team. Read our privacy policy for how the site handles data.