How to use this tool
- Paste plain text or a percent-encoded string into the input.
- Choose Encode or Decode to run the conversion.
- Copy the result and use it in your URL, query string, or API path.
About URL Encoder Decoder
This tool helps you convert between raw text and URL-safe percent-encoding when building links, query parameters, or API paths. It follows RFC 3986 percent-encoding rules and is useful for debugging redirect URLs and preparing values for web requests.
Common use cases
- Encoding query parameter values for safe use in URLs
- Decoding percent-encoded segments while debugging redirects
- Preparing special characters for API path or form values
FAQ
- What is URL percent-encoding used for?
- Percent-encoding converts characters into a safe format for URLs by replacing them with percent signs followed by hex codes. It is required for query parameters, path segments, and any text that may contain spaces or special characters.
- Does this tool send my data to a server?
- No, encoding and decoding run entirely in your browser. Your input never leaves your device, which helps when working with sensitive or private strings.
- Why does decoding fail on some percent-encoded strings?
- Decoding fails when the percent sequence is malformed, such as an incomplete %XX or invalid hex digits. Some systems use non-standard encoding that may not match RFC 3986.
- When should I use encode vs decode?
- Use encode when you have plain text to put into a URL or query parameter. Use decode when you have a percent-encoded string and need to read or debug the original value.