URL Encode / Decode
Percent-encode text, Chinese characters or URL content, or decode it back to plain text. Input links are never opened.
Converted result
A FEW SIMPLE STEPS
How to use
- 01
Enter text, a URL component or encoded content.
- 02
Choose Encode or Decode and convert. The entire input is treated as one URL component.
- 03
Check and copy the result. For errors, inspect percent escapes; Clear removes input and output.
MADE FOR EVERYDAY
Common uses
- Prepare Chinese text or special characters as a query parameter value.
- Read percent-encoded log content without opening unknown links.
- Handle date or timestamp query parameters and check their meaning with the time tool.
Frequently asked questions
How is a full URL encoded?
encodeURIComponent encodes colons, slashes, question marks, ampersands and equals signs too. It is for individual components or parameter values, not preserving a full URL structure like encodeURI.
Does a plus sign decode to a space?
No. decodeURIComponent leaves + unchanged. %20 becomes a space and %2B becomes +. This is not application/x-www-form-urlencoded decoding.
Why does decoding fail?
Every percent sign needs two hexadecimal digits and the resulting bytes must form valid UTF-8. %ZZ, a lone % and incomplete multibyte sequences fail instead of producing partial results.
Will text be uploaded or links opened?
No. Processing is local, output is plain text and no links are followed. Input is not saved and is limited to 200,000 UTF-16 code units.