Base64 Encoder Decoder
Loading...
Encode and Decode Base64 Online
- 1
Choose a mode and encoding format
Switch between Encode and Decode modes and pick standard Base64 or URL-safe Base64 as needed; decoding follows the selected format, and URL-safe mode restores missing padding automatically.
- 2
Enter text or upload a file
Paste any UTF-8 text in text mode, or drag and drop a file in file mode with a 5MB limit per file.
- 3
Check the result and image preview
The result is generated instantly and can be copied with one click; decoded image content is detected automatically and previewed as PNG, JPEG, GIF or WebP.
- 4
Keep history and reverse operations
Conversions are stored in local history (last 20 entries) and can be restored at any time; the Swap button flips input and result so encoding and decoding flow into each other.
Features Overview
Encode and decode text or files using Base64, supporting both standard and URL-safe formats with automatic image preview detection.
Tool Description
Support standard Base64 and URL-safe formats. Encode text or files, automatically recognize and preview image content, and save history records.
Capabilities Checklist
- Support both standard Base64 and URL-safe Base64 encoding formats to meet different use cases.
- Text mode handles UTF-8 character encoding perfectly, including Chinese and other multilingual content.
- File upload mode supports drag-and-drop and click-to-upload with a 5MB limit for optimal performance.
- Automatically detect Base64-encoded images and preview them in real time, supporting PNG, JPEG, GIF, and WebP formats.
- Save the last 20 conversion records locally, with the ability to restore, delete, or clear history at any time.
- Swap input and output with one click for quick reverse operations.
- Copy functionality includes success feedback, with sample data provided for quick testing.
User feedback
Go to feedback
User feedback
Related Tools
Encoding and Cryptography Workbench
Chain Base64, JWT, hashes, PBKDF2, and AES-GCM with browser-side salted encryption workflows
JWT Decoder
Decode JWT tokens and verify HS256 signatures online
URL Encoder Decoder
Convert URI components, full URIs, and form encoding in real time
Unicode Encoder Decoder
Decode Unicode escape sequences online, convert code points and HTML entities
QR Code Generator and Reader
Generate custom QR codes, recognize QR codes in images