URL Encoder Decoder
Encode and decode URL query strings and path segments safely.
About this tool
Percent-encode reserved characters for query parameters, or decode encoded URLs back into readable text.
How to use
- Select Encode or Decode.
- Paste the string.
- Convert and copy the output.
Examples
- Encode a search query with spaces and symbols.
- Decode a tracking URL for debugging.
- Prepare parameters for an API request.
Benefits
- Uses encodeURIComponent semantics
- Helpful decode errors
- Fast browser-side conversion
- Developer-friendly output
Frequently asked questions
encodeURI vs encodeURIComponent?+
This tool uses encodeURIComponent, which encodes characters like &, ?, and = — safer for query parameter values.
Why did decode fail?+
Malformed percent sequences (e.g. %ZZ) cannot be decoded and will show an error.
Related tools
More in categoryBase64 Encoder Decoder
PopularEncode and decode Base64 strings with proper UTF-8 support.
Developer Tools
JSON Formatter
PopularBeautify or minify JSON with clear validation errors.
Developer Tools
Timestamp Converter
Convert Unix timestamps to dates and back using your local timezone.
Developer Tools
JSON Validator
PopularValidate JSON syntax and inspect key counts instantly.
Developer Tools
Percentage Calculator
PopularCalculate percentages, reverse percentages, and percent change.
Calculators
Discount Calculator
PopularCompute sale price, savings, and optional tax from a discount %.
Business Tools