Encoder / Decoder Hub
Encode & decode Base64, URL, HTML, Hex, Binary, Gzip, and JWT — all in your browser
Input
0 BOutput
Encoder & Decoder — Base64, URL, Hex, HTML Entities & More
Encode and decode data in any format with inspectly.dev's Encoder/Decoder. Supports Base64, URL encoding, Hex, Binary, HTML entities, Unicode escape sequences, JWT payloads, and gzip compression — with auto-detection of the input format.
Key Features
- Base64 encode and decode (standard and URL-safe variants)
- URL encode and decode (percent-encoding for query strings)
- Hex encode and decode text or binary data
- Binary (0s and 1s) encode and decode
- HTML entity encode and decode (&, <, >, etc.)
- Unicode escape sequence conversion (\u0041)
- Auto-detect mode — identifies the encoding automatically
- Encode files to Base64 for embedding in CSS or JSON
Common Use Cases
- Decoding Base64-encoded API responses or JWT payloads
- URL-encoding query string parameters for safe HTTP transmission
- Converting binary data to hex for debugging network protocols
- Encoding HTML to prevent XSS in templates
- Embedding images as Base64 data URIs in HTML/CSS
- Decoding escaped Unicode characters in JSON strings
Frequently Asked Questions
How do I decode Base64 online?
Go to inspectly.dev/encoder, select the Base64 tab, paste your Base64 string in the input, and click Decode. The decoded text appears instantly. Works with standard Base64 and URL-safe Base64 (which uses - and _ instead of + and /).
What is the difference between URL encoding and Base64 encoding?
URL encoding (percent-encoding) replaces special characters in URLs with %XX sequences — for example, a space becomes %20. Base64 encodes any binary data into ASCII characters and is used for embedding data in JSON, HTML, or email. They serve different purposes.
How do I encode a URL query parameter?
Select the URL tab in the encoder, type or paste your value (e.g., a search query with spaces and special characters), and click Encode. Use the encoded value in your URL query string.
Can I decode a JWT token here?
Yes — JWT payloads are Base64URL-encoded. Paste the middle section of your JWT (between the two dots) into the Base64 decoder and select URL-safe mode. For full JWT analysis including expiration and security checks, use inspectly.dev/jwt.