Encode & Decode Tools
Encoding and decoding utilities for various formats
Popular Tools
All Encoding Tools
Base64 Encode
Encode to Base64
Base64 Decode
Decode Base64
Base64 to Hex Converter
Convert Base64 to Hex and back
Base32 Decode & Encode
Decode/encode Base32
Base85 Encoder & Decoder
Encode/decode Base85 (Ascii85) with Adobe and RFC 1924 variants
HMAC Generator
Generate HMAC signatures
PEM to JWK Converter
Convert PEM keys to JWK and back
URL Encode
Encode URLs
URL Decode
Decode URLs
HTML Entities
Convert entities
Related Categories
What is Encoding?
Encoding transforms data into a specific format for safe transmission, storage, or display. Different encoding schemes serve different purposes: Base64 encodes binary data as readable text for email attachments and data URLs; URL encoding makes special characters safe for web addresses; HTML entity encoding prevents XSS attacks by converting dangerous characters to safe representations.
Every developer encounters encoding daily - from API authentication tokens to URL parameters, from email attachments to preventing cross-site scripting. Understanding these encoding schemes is essential for secure, reliable web development.
Why Use ByteJSON Encoding Tools?
- Privacy-First DesignAll encoding happens in your browser. Sensitive data like API keys, passwords, or JWT tokens never leave your device - essential for security-conscious developers.
- Instant ProcessingNo server delays. Encode or decode any text instantly, even large files. Perfect for quick debugging during development.
- Error DetectionOur decoder validates input and shows clear error messages when decoding fails, helping you quickly identify invalid Base64 or URL-encoded strings.
Common Use Cases
API Authentication
Encode API keys and credentials in Base64 for Basic Auth headers. Decode JWT token payloads to inspect claims and expiration.
URL Parameters
Encode search queries, paths, and special characters for safe URL inclusion. Decode incoming URL parameters from APIs or user input.
Email & Attachments
Base64 is the standard for email attachments (MIME encoding). Encode images as data URLs for embedding directly in HTML or CSS.
XSS Prevention
HTML entity encoding prevents script injection attacks. Convert user input to safe HTML before rendering.
Quick Reference
Base64
- • A-Z, a-z, 0-9, +, /, =
- • 64 characters + padding
- • ~33% size increase
URL Encoding
- • %XX format (hex)
- • Space = %20 or +
- • Reserved: ?, &, =, /
HTML Entities
- • & = &
- • < = <
- • > = >