Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

URL Encoder / Decoder

Make text safe for URLs and query strings, or turn %20-style encoded links back into readable text.

Runs in your browserInstantNothing saved or sent
1

Input & mode

Direction

Limits

  • Text is encoded as UTF-8, the web standard; legacy encodings such as Shift_JIS or Windows-1252 percent-escapes are not supported.
  • Decoding malformed sequences (such as a lone % or invalid UTF-8) reports an error instead of guessing.
  • Each line is processed separately when “Each line separately” is ticked; otherwise the whole input is one value.
2

Result

How to use URL Encode / Decode

  1. Paste text or a URLEnter the text to encode, or an encoded URL to decode.
  2. Choose the modeEncode or decode, as a URL component or a full URL, with optional + for spaces.
  3. CopyCopy the result. For full URLs, the query parameters are listed in a table.

Component vs full-URL encoding

Component encoding (encodeURIComponent) escapes every character that has a meaning in URLs, including / ? & = and #. Use it for a single query value or path segment.

Full-URL encoding (encodeURI) keeps the URL structure characters and only escapes spaces, non-ASCII characters and other unsafe characters. Form encoding uses + for spaces, as HTML forms do.

Frequently asked questions

Should a space be %20 or +?

%20 is correct everywhere in a URL. + means space only in query strings sent by HTML forms (application/x-www-form-urlencoded).

Is my text sent anywhere?

No. Everything runs in your browser tab with JavaScript. Nothing you type or paste is uploaded, logged or stored.

Why are Chinese or emoji characters turned into many %XX codes?

They are first encoded as UTF-8 bytes (3 or 4 bytes each), and each byte becomes one %XX.

What is double encoding?

Encoding an already encoded string turns % into %25, so %20 becomes %2520. Decode once to undo one level.

Related tools

All tools