Skip to content
empinet.dev
Encoding

URL Encode

Percent-encode text for safe use as a URL component or query parameter value. Unicode characters are encoded as UTF-8 bytes.

Encode workspace

Percent-encode text for a URL component or query value.

Text input
Encoded URL component

Your text stays on this device.

Encoding URL components

Reserved characters such as ampersands, equals signs, slashes, and question marks can change a URL's structure. Percent encoding preserves them as data inside one component.

Built on encodeURIComponent

The transformation follows the browser standard for individual URL components. Spaces become %20, not a plus sign.

URL Encode FAQ

Should I encode an entire URL?

Usually not. Encode individual values before inserting them into a URL so structural separators remain intact.

Does it support Unicode?

Yes. Unicode is converted to UTF-8 and represented by percent-encoded bytes.