Developer Tools

URL Encoder / Decoder

Percent-encode and decode URLs and query values locally.

What this tool does

URL Encoder / Decoder percent-encodes text so it can travel safely inside a URL, and decodes it back to readable form. Choose whether you are encoding a single query value or a whole URL — the difference decides whether characters like :, /, and ? are escaped.

How to use

  1. Pick Encode or Decode.
  2. Choose the scope: a query value, or a whole URL.
  3. Type or paste — the result updates as you type.
  4. Copy the result with the Copy button.

Notes

  • Everything runs locally — nothing is sent to a server.
  • Query value scope escapes :/?#&= ; whole URL scope keeps them intact.
  • Non-English text becomes UTF-8 percent sequences such as %ED%95%9C.

Frequently asked questions

Which scope should I use?

Use the query value scope when encoding one piece of data you are inserting into a URL, such as a search term. Use the whole URL scope when you have a complete address that only needs its spaces and special characters cleaned up, leaving the structure intact.

Why is a space sometimes %20 and sometimes +?

Percent-encoding always writes a space as %20. The + form comes from HTML form submissions, which use a slightly different encoding for the query string. This tool produces %20, which is accepted everywhere.

Why does decoding report an error?

A percent sign must be followed by two hexadecimal digits, and multi-byte characters need their complete sequence. Truncated input like %E0%A4 is invalid, so the tool reports it rather than returning damaged text.

Is it safe to paste a URL with a token in it?

Yes. Encoding and decoding happen entirely in your browser — the text is never transmitted, logged, or stored anywhere.