URL Encoder / Decoder
Percent-encode and decode URL components in your browser with encodeURIComponent. Detects malformed % sequences and handles Unicode safely.
All processing happens locally in your browser. Files are never uploaded.
Input
Introduction
URL Encoder / Decoder converts strings into percent-encoded URL components and back using the standard encodeURIComponent and decodeURIComponent functions. It is the right tool for query-string values and path segments, and it clearly reports malformed percent sequences such as a stray '%' or '%zz'.
Features
- Standard encodeURIComponent encoding
- Safe Unicode handling
- Detects malformed % sequences
- Swap direction with one click
- Copy and download the result
How to use
- 1Type the text you want to encode, or paste a percent-encoded string to decode.
- 2Click Encode or Decode.
- 3Read any error about malformed percent sequences.
- 4Copy or download the output.
Frequently asked questions
Related tools
Base64 Converter
Convert text to Base64 and back in your browser. Full UTF-8 support for Chinese, Japanese and emoji, with clear errors for bad padding.
JWT Decoder
Decode any JSON Web Token in your browser. Pretty-prints header and payload, shows the signature, and checks whether the token is expired.
Timestamp Converter
Convert Unix timestamps to local and UTC dates and back. Auto-detects seconds vs milliseconds, shows the current time, and copies values in one click.