About this tool
Type or paste text, then press Encode to percent-encode it or Decode to turn an encoded URI back into readable text. Choose Component mode for query values and path pieces, or Full URL mode to keep characters such as : / ? # and &.
Features
- Encode and decode on the same page.
- Component mode matches encodeURIComponent. Full URL mode matches encodeURI.
- Handles Unicode text, including Vietnamese and other languages.
- Clear error when an encoded string has an invalid % sequence.
Frequently asked questions
What is URL encoding?
URL encoding, also called percent-encoding, replaces unsafe characters with a percent sign and two hexadecimal digits, for example a space becomes %20.
Component or Full URL mode?
Use Component for a single value such as a query parameter. Use Full URL for a whole address so that its separators stay readable.
Is my text sent to a server?
No. Encoding and decoding run in your browser.