Percent (URI) Encoding
Encode or decode URL components with configurable encoding modes.
Input
Output
About Percent Encoding
Percent encoding replaces unsafe ASCII characters with a % followed by two hex digits. encodeURIComponent is the most common and encodes everything except letters, digits, and -_.!~*'(). encodeURI leaves characters that are valid in a full URI intact.
Other Tools
Encode or decode text with multiple encoding and output format options.
Encode or decode URLs with different modes for different situations.
Encode or decode HTML special characters using named, decimal, or hex formats.
Convert any image file to a Base64 data URI for embedding in HTML or CSS.
Convert text to hex representation and back, with configurable separator and case.
Generate cryptographic hashes from any text. Optional HMAC secret.
Decode and inspect JWT tokens without a secret key. Header, payload, and expiry at a glance.
Generate and verify time-based one-time passwords using a base32 secret key.