Home › Free tools › URL encoder and decoder
Free developer tool · Runs in your browser

URL encoder and decoder – percent-encode or decode any text

Encode text or links for safe use in URLs, or decode %20-style URLs back into readable text. Also splits a URL into its parts and lists every query parameter.

Encode and decodeComponent or full URLQuery parameter viewer

What is URL encoding?

URLs can only contain a limited set of characters. URL encoding (also called percent-encoding) replaces everything else – spaces, &, ?, #, emoji and non-English letters – with a % followed by hexadecimal codes. A space becomes %20, & becomes %26 and é becomes %C3%A9.

Component or full URL?

ModeKeepsUse it for
Component (encodeURIComponent)Only letters, digits and – _ . ! ~ * ‘ ( )A single value inside a link, such as a search term or a redirect URL in a parameter
Full URL (encodeURI)Also : / ? # & = and other URL symbolsA whole link that already has the right structure but contains spaces or special letters

Common encoded characters

CharacterEncodedCharacterEncoded
space%20 (or + in forms)&%26
/%2F?%3F
=%3D#%23
:%3A@%40

Building campaign links? Our UTM Link Builder encodes the values for you.

Frequently asked questions

How do I decode a URL?

Paste the encoded URL, click Decode and copy the readable result. %20 becomes a space, %26 becomes & and so on.

What does %20 mean in a URL?

%20 is an encoded space. Spaces are not allowed in URLs, so they are written as %20 (or as + in form data).

When should I use encodeURIComponent?

Use it for a single value that goes inside a URL, such as a query parameter. It also encodes / ? & = so they do not break the link.

Why does decoding fail?

The text has a % sign that is not followed by two valid hexadecimal digits. Encode the text first, or fix the broken sequence.

Is my data sent anywhere?

No. Encoding and decoding happen in your browser.

Need a website or app built?

We design and build websites and Android apps for clients worldwide – clear scope, fixed price, fast delivery.

Techpass Master Technologies · Websites, Android apps and digital marketing

WhatsApp us📞 Call now