toolbin_

URL encoder / decoder

Percent-encode or decode a string for use in a URL.

🔒 100% client-side — no data sent

Encode and decode strings for URLs (percent-encoding) to prepare parameters, queries and links without invalid characters. This free URL encoder/decoder runs 100% in your browser with no data sent, for fast and private processing.

FAQ

What is URL percent-encoding?

Percent-encoding replaces characters that are not allowed in a URL with a % sign followed by their hexadecimal code (for example a space becomes %20). This ensures the URL stays valid and is interpreted correctly.

Which characters need to be encoded in a URL?

You must encode spaces, accented characters and reserved symbols such as &, ?, =, / or # when they are part of a value. Letters, digits and a few unreserved characters stay unchanged.

What is the difference between encodeURI and encodeURIComponent?

encodeURI keeps the structural characters of a full URL intact, whereas encodeURIComponent also encodes those reserved characters, which suits a single parameter. Use the latter to encode a query value.

Is my data sent to a server?

No, URL encoding and decoding happen entirely in your browser. No data leaves your device.