Uttir

URL Encoder

Percent-encode text for safe use in URLs — as a query value or a full URL.

Encoding runs locally in your browser. Nothing is uploaded.

What is url encoder?

URLs may only contain a limited set of characters. Spaces, ampersands, question marks, and non-ASCII characters must be percent-encoded — replaced with %XX sequences. This tool offers two modes: component mode encodes everything reserved (for a single query parameter value), while full-URL mode keeps structural characters like : / ? & = so an entire address stays readable.

It matches the behavior of encodeURIComponent and encodeURI in JavaScript, so results are identical to what your code produces.

How to use it

  1. Pick a mode

    Component for a parameter value; full URL for an entire address.

  2. Paste your text

    The encoded output updates as you type.

  3. Copy the result

    Use Copy to place the encoded string on your clipboard.

Examples

Query value

Reserved characters are encoded in component mode.

a b&c=d

Result: a%20b%26c%3Dd

Full URL

Structure is preserved; only unsafe characters are encoded.

https://example.com/search?q=café & more

Result: https://example.com/search?q=caf%C3%A9%20&%20more

Frequently asked questions

Related tools