URL Encoder & Decoder

Percent-encode text for use in a URL, or decode a messy link back into readable text. Handy for query strings and redirects.

Uses percent-encoding (UTF-8). Useful for query strings, redirect targets and filenames inside links.

What this tool does

A URL may only contain a limited set of characters. Spaces, Chinese characters, and characters such as & or = inside a value have to be percent-encoded first, which is why query strings often look like noise.

This page encodes text into that form and decodes it back, which is handy when you want to read what a redirect link actually points to or build a query string by hand. Pasted links are not sent anywhere.

How to use it

  1. Paste plain text or an encoded URL into the input box.
  2. Press Encode to percent-encode it, or Decode to turn %XX sequences back into readable characters.
  3. Copy the result and paste it into your link, form or code.

Frequently asked questions

Why does a space sometimes become %20 and sometimes +?

%20 is the form used in URLs. A plus sign means space only inside form-encoded query strings. This tool produces %20.

Can it handle Chinese text?

Yes. Characters are encoded as UTF-8 bytes, so Chinese, Japanese and emoji decode back correctly.

Should I encode the whole URL or just a parameter value?

Encode only the value you are putting into a query string. Encoding a whole URL also escapes : and /, which breaks the link.

If you have any questions, contact [email protected]

← Back to all tools