URL Encoder Online

Percent-encode text so it is safe inside a URL.

Get this result as JSON (developer API)
curl "https://encode.wrapper-agency.com/api/v1/encode?op=url-encode&value=name%3DJohn%20Doe%20%26%20city%3DS%C3%A3o%20Paulo"

Free encode/decode/hash API — no key during beta. Everything is computed locally; nothing you enter is stored.

About URL Encode

URL encoding (percent-encoding) replaces characters that are unsafe or reserved in a URL — spaces, &, ?, =, #, and non-ASCII characters — with a % followed by their hexadecimal byte values.

This tool uses the same rules as JavaScript's encodeURIComponent, which is the correct choice when encoding a single query-string value or path segment.

Use it before putting user input into a URL so that special characters do not break the link or get misinterpreted by the server.

Example

Inputname=John Doe & city=São Paulo
Outputname%3DJohn%20Doe%20%26%20city%3DS%C3%A3o%20Paulo

Use it from code

curl "https://encode.wrapper-agency.com/api/v1/encode?op=url-encode&value=YOUR_TEXT"

Free during beta — no key. See the full API reference.

Related tools