Free developer & data tool

URL Encoder & Decoder

Encode one URL component or decode percent-encoded text.

This tool processes input locally in your browser without a tool API upload. This describes tool processing, not a site-wide logging guarantee. Avoid pasting live secrets.

Output

Supported behavior

  • Encode one URL component or decode percent-encoded text.
  • Uses encodeURIComponent/decodeURIComponent, not a whole-URL builder. Invalid percent sequences, invalid UTF-8 and lone surrogate encoding are errors. Decoding + as space follows form/query conventions and is unsuitable when plus must stay literal. Input limit: 200,000 characters per text input; regex and diff have additional limits described above.

How to use the URL Encoder & Decoder

  1. Select Encode or Decode and enter a parameter value; decoding also treats plus signs as spaces.
  2. Review the result or error before copying. Shared output panels offer Copy; there is no file upload or download workflow.
  3. Tool input is processed locally without a tool API request. This does not establish site-wide analytics or logging policy.

Examples

Worked behavior

hello world & more becomes hello%20world%20%26%20more; literal + encodes as %2B.

Limits and common mistakes

Uses encodeURIComponent/decodeURIComponent, not a whole-URL builder. Invalid percent sequences, invalid UTF-8 and lone surrogate encoding are errors. Decoding + as space follows form/query conventions and is unsuitable when plus must stay literal. Input limit: 200,000 characters per text input; regex and diff have additional limits described above.

Frequently asked questions

Should I paste an entire URL?

Encode the individual value instead. Encoding an entire URL also encodes its structural separators.

Sources & methodology

Related tools

More developer & data tools