Skip to content
BA Convert
Developer Tools

URL Encoder and Decoder

URL decode and encode text online: turn %20 and %E0%AE%A4 back into readable text, encode values or full links correctly, and build UTM tracking links for your campaigns.

Encodes everything except letters, digits and - _ . ! ~ * ' ( ). Use for one part of a URL, such as a search term or a parameter value.

Try:
Output

Everything runs in your browser. Nothing you type is sent or stored.

How to use URL Encoder

  1. Choose "Encode a value", "Encode a full URL" or "Decode".

  2. Paste your text or link; the result appears instantly.

  3. For campaign links, open "UTM link builder", fill in the source, medium and campaign, and copy the link.

When to use URL Encoder

  • Reading messy links. Decode tracking links and search URLs to see what is inside.
  • Building query strings. Encode values containing spaces, & or Tamil text.
  • Marketing. UTM links to see in Google Analytics which posts bring visitors.

Limits and privacy

  • Everything runs in your browser. Nothing you type is sent or stored.

Frequently asked questions

What is URL encoding?

URLs can only contain a limited set of characters, so others are written as % followed by their byte value in hexadecimal. A space becomes %20, & becomes %26, and the Tamil letter த becomes %E0%AE%A4. Encoding keeps links working; decoding makes them readable again.

When should I use encodeURIComponent?

Use it ("Encode a value") for one piece of a URL, such as a search term, a parameter value or a file name, because it also encodes characters like / ? & and =. Use encodeURI ("Encode a full URL") for a complete link, where those characters must stay as they are.

Why does %20 appear in links?

%20 is the encoded form of a space, because URLs cannot contain spaces. Browsers usually show the decoded text in the address bar but copy the encoded form. In query strings you may also see + used for spaces; the Decode mode here turns both back into spaces.

Something not working with URL Encoder? Report a problem.