URL Encode/Decode

Encode or decode query values and full URLs

Direction
Read-only

What is URL Encode/Decode Tool?

URL Encode/Decode Tool percent-encodes characters that cannot appear in a URL, or turns an encoded string back into readable text. It is useful for URLs containing non-ASCII characters, query parameters, and encoded links.

You can switch between encoding and decoding, and the result updates as you type.

How to Use

  1. Choose Encode or Decode.
  2. Enter the text and review the result.
  3. If needed, use Options to change the scope or line-by-line conversion.

Main Settings

Scope

Query value encodes symbols such as & and = along with the text. Full URL keeps the URL structure, such as :// and ?, intact. Choose Full URL when pasting a whole URL, and Query value when converting only a parameter value.

Space handling is not shown when the scope is Full URL.

When the scope is Query value, space handling depends on the direction.

  • When encoding (use + for spaces): matches form and query-string conventions. A literal + in the input becomes %2B
  • When decoding (treat + as a space): restores + in a query string to a space

Convert Each Line

Convert every line separately. This is useful for handling several URLs in one pass. Lines that cannot be converted are kept as they are, and their line numbers are shown.

Use Cases

  • Adding a value with non-ASCII characters to a query parameter
  • Checking that an API request URL is encoded correctly
  • Reading an encoded URL in a form you can inspect
  • Converting several URLs or parameters together

Things to Keep in Mind

  • Input that cannot be decoded produces an error. Check that every % is followed by two hexadecimal digits
  • Decoding a full URL keeps encoded reserved characters such as %3A as they are. Choose Query value when you want everything restored to readable text