Skip to content

URL Encoder / Decoder

Text & Encoding
Input0 chars
Output
About this tool

URL Encoder & Decoder

Percent-encode or decode URL components in your browser — no account, no install, no data sent to any server.

Common use cases
Encode query parametersDebug API request URLsProcess form submissionsFix malformed URLsWork with Unicode in URLs

URL encoding (also called percent-encoding) converts special characters in a URL to a safe format using the % symbol followed by two hexadecimal digits. This ensures the URL is transmitted correctly over the internet.

encodeURIComponent encodes a larger set of characters and is designed for encoding individual query parameter values. encodeURI encodes only characters that are not valid in a complete URL, preserving structure characters like /, ?, and #. This tool uses encodeURIComponent, which is correct for encoding parameter values.

Both %20 and + represent a space in URLs, but they are used in different contexts. %20 is the standard percent-encoding for a space in any part of a URL. The + sign is used to represent spaces specifically in HTML form data (application/x-www-form-urlencoded).

encodeURIComponent encodes all characters except letters, digits, and - _ . ! ~ * ' ( ). This includes spaces (%20), slashes (%2F), question marks (%3F), ampersands (%26), equals signs (%3D), and hash symbols (%23).

No. All encoding and decoding happens locally in your browser using JavaScript. No data is transmitted to any server.