Encode or decode any URLs easily.
Enter text to encode
Encoded URL will appear here
Embed this tool on your site
Free · No account or API key required · 100% client-side
The URL Encoder/Decoder tool is essential for web development and debugging. It helps you convert text into a URL-safe format (Percent-encoding) and vice-versa.
URL encoding stands for encoding certain characters in a URL by replacing them with one or more character triplets that consist of the percent character "%" followed by two hexadecimal digits. The two hexadecimal digits represent the numeric value of the replaced character.
URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
name=John & Doe+Smith
name%3DJohn%20%26%20Doe%2BSmith
Escaped spaces, ampersands, and plus signs to prevent query string truncation.
encodeURI preserves protocol and domain separators (http://, /, ?), while encodeURIComponent encodes everything including slashes and question marks, making it ideal for query parameter values.
Explore more free utilities in Converter
Unix Timestamp Converter
Convert between Unix Timestamps and human-readable dates.
Open
Color Converter
Convert colors between HEX, RGB, HSL, CMYK, and more.
Open
Aspect Ratio Calculator
Calculate aspect ratios and dimensions.
Open
Number Base Converter
Convert numbers between Binary, Octal, Decimal, and Hexadecimal.
Open
JSON to YAML Converter
Convert data between JSON and YAML formats.
Open
Unit Converter
Convert between various units of measurement (Length, Weight, Temp, etc.).
Open