URL Encoder & Decoder

Encode or decode text for safe use in URLs and query strings.

About this tool

URLs can only contain certain characters. Encoding replaces the rest with percent codes. Decode to read an encoded link.

How to use URL Encoder & Decoder

  1. Paste your text or URL.
  2. Choose encode or decode, and the mode.
  3. Copy the result.

Frequently asked questions

encodeURIComponent or encodeURI?

Use component mode for a single value such as a query parameter. Use full URL mode to keep :, / and ? intact.

Why does a space become %20?

Spaces are not allowed in URLs, so they are written as %20 (or + in some forms).