URL Encoder

Percent-encode text and URLs for query strings and paths.

Runs entirely in your browser — nothing you enter is uploaded.

About this tool

Encode special characters so they can be safely placed in URLs — spaces, ampersands, slashes, non-English characters and emoji.

How to use the URL Encoder

  1. Enter the encoding and text.
  2. The result appears in the output box as you type.
  3. Copy the output or download it as a file.

How it works

Component encoding escapes everything except A–Z a–z 0–9 - _ . ! ~ * ' ( ). Full-URL encoding leaves reserved characters such as : / ? & = intact. Text is encoded as UTF-8 bytes.

Frequently asked questions

When should I use component encoding?

For individual query parameter values and path segments. Use full-URL mode only for whole URLs.