Encoding
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 values instantly.
Encoding
Encode text for URLs or decode percent-encoded values instantly.
Convert text into a percent-encoded URI component.
Local processing
URL encoding and decoding happen entirely inside your browser. Nothing is uploaded.
About this tool
URL encoding converts characters that may be unsafe or ambiguous inside a URL into percent-encoded representations. This tool uses URI component encoding, making it suitable for query parameter values, path segments and other individual URL components.
Features
Frequently asked questions
Percent encoding represents certain characters using a percent sign followed by their hexadecimal byte value. For example, a space is commonly represented as %20.
encodeURI is intended for complete URLs and preserves structural characters such as slashes and question marks. encodeURIComponent is intended for individual values and encodes more characters.
Decoding fails when the input contains incomplete or invalid percent-encoded sequences, such as a percent sign that is not followed by two hexadecimal characters.
No. URL encoding only transforms data into a URL-safe representation. It does not provide confidentiality or security.
Related tools