FORMATFYCOM formátovač · validátor · minifikátor About

What's new

URL Encode

Percent-encode text, a query parameter or a whole URL (UTF-8). Free, the result updates as you type, in your browser.

Input

Output


      

How to URL-encode text

Percent-encodes text, a query parameter or a whole URL as %XX in UTF-8 — including accented characters, spaces and & = ? #.

  1. Paste text

    A parameter value or a whole URL.

  2. Pick the mode

    Parameter value (encodes & = ? / too), or “whole URL” (keeps : / ? & = #).

  3. Copy the result

    Updates as you type.

What it does

Parameter value

encodeURIComponent — for values in ?q=…

a b&c→a%20b%26c

Whole URL

encodeURI — keeps the URL structure.

/search?q=café→/search?q=caf%C3%A9

FAQ

When to encode the whole URL vs. a parameter?

Always encode parameter values fully (otherwise & or = break the URL). Encode a whole URL only when building it from raw text.

Why is a space sometimes %20 and sometimes +?

%20 is general URL encoding; + is used by HTML forms (application/x-www-form-urlencoded). The decoder handles both.

Is it free, without sign-up?

Yes. No sign-up, no ads and no size limit — the only limit is your computer.

Is my data sent to a server?

No. Everything runs in your browser and the data you paste never leaves it — fine even for data with tokens or personal information.

Related tools