URL Encoder

Percent-encode strings for safe use in URLs and query strings. Browser-only.

100% in your browser — files never uploaded.
Postcrest — full AI image suite

Need more than a converter? AI background removal, upscale, edit and generate — one workspace.

How to use the URL Encoder

  1. 1
    Paste input
    Type or paste — the conversion runs as you type.
  2. 2
    Read output
    Updates live, with errors flagged if input is invalid.
  3. 3
    Copy
    Click Copy or select the output to copy.

About this tool

Percent-encoding (URL encoding) replaces characters that have special meaning in URLs (`?`, `&`, `=`, spaces) with `%` followed by a two-digit hex code so the URL can be safely passed around.

This tool uses `encodeURIComponent`, which is correct for query-string parameters. For full URLs (where `?`, `&`, `=` should stay literal) use `encodeURI` — most tools use the former by default.

Frequently asked questions

Unicode?
Yes — non-ASCII characters are encoded as UTF-8 percent escapes.
Which encode function?
encodeURIComponent — best for query-string values.
Mobile?
Yes.
Free?
Yes.