Tip: Supports encoding and decoding of Chinese and other Unicode characters
About This Tool
Base64 is an encoding method that represents arbitrary binary data using 64 printable characters. It's commonly used for transmitting binary data in text-only contexts (like email, web pages), or embedding images and files in code. This tool helps you encode regular text to Base64 format, or decode Base64 strings back to original text. It supports Chinese and various Unicode characters, and all processing is done locally in your browser to protect your data privacy.
How to Use
- Enter the content you want to encode in the 'Original Text' box (supports Chinese)
- Click the 'Encode' button, the Base64 encoded result will appear below
- Or paste a Base64 string in the 'Base64 Encoded' box
- Click the 'Decode' button, the decoded original text will appear above
- Use the 'Copy' button to copy results to clipboard
- Click 'Clear' to reset all content
Common Use Cases
- Email attachments: Convert files to Base64 for embedding in email content
- Data transmission: Transmit binary data in text-only protocols
- Image embedding: Convert small images to Base64 for CSS or HTML (Data URL)
- API debugging: Handle Base64 encoded data in interfaces
- Configuration files: Store special character data in JSON/YAML configs
- Web development: Handle encrypted tokens, signatures, and other Base64 format data