URLs have rules for how certain characters are represented. Encoding converts characters into a percent-encoded form, while decoding attempts to convert those sequences back into readable text.
What this tool helps you do
- Encode text for use in a URL component
- Decode percent-encoded sequences
- Review the input and output side by side
- Use examples when debugging link parameters
How to use the URL Encoder and Decoder
- Choose whether you need to encode or decode.
- Paste the text or URL component into the input field.
- Run the conversion and review the result for unexpected spaces or symbols.
- Use the output only in the correct part of the URL, such as a query parameter or path component.
Example
A space in a URL component is commonly represented as %20. Form submissions may use a plus sign for spaces, depending on the encoding convention.
Frequently asked questions
Does URL encoding encrypt data?
No. Encoding is not encryption and does not protect private information.
Should I encode a complete URL?
Usually you encode individual components, such as a query parameter value. Encoding the entire URL can break its separators.
Why are some characters still visible?
Some characters are allowed in specific URL contexts and do not need to be percent-encoded.
Before you use the result
Never place passwords, access tokens or private information in a URL simply because it has been encoded.
Tool status: The interactive workspace is displayed above this guide when a WP Coder shortcode has been connected by the site administrator.