URL Encode / Decode
Percent-encode or decode URL components.
Input
Output
Encode text for safe use in URLs or decode percent-encoded strings.
How to use
- Choose Encode or Decode.
- Enter your text.
- Copy the output.
Frequently asked questions
- Which function is used?
- encodeURIComponent / decodeURIComponent.
- Does it encode whole URLs?
- It encodes components; encode parts separately for full URLs.