Base64 Encode/Decode
Encode and decode text and images to/from Base64
Base64 Tool Guide
Key Features
- Text Encode — Convert plain text to Base64
- Text Decode — Convert Base64 back to plain text
- Image Encode — Upload images and convert to Base64 data URI
- Swap — Quickly swap input and output content
Use Cases
- Data transfer in HTTP requests
- Embed images in HTML/CSS
- Data storage and transmission
- API data exchange
Tips
- Supports both text and image input
- One-click copy to clipboard
- Quick clear input and output areas
- All operations are local — privacy safe
Notes
- Base64 encoding increases data size by ~33%
- Image Base64 is best for small images
- Ensure input is a valid Base64 string when decoding
- Supports common Base64 variants (standard, URL-safe, etc.)