Base64 Encoder / Decoder
Options
Image preview
File info
Name: —
Size: —
Type: —
Base64 size: —
Name: —
Size: —
Type: —
Base64 size: —
Guide & Explanations
Online Base64 Encoder / Decoder
The Base64 encoder and decoder is an essential tool for developers and web professionals. It lets you convert any text, URL or binary file to a Base64 string, and vice versa — entirely in your browser, with no data ever sent to a server.
Why use Base64?
Base64 encoding is used everywhere in web and software development: embedding images directly in HTML or CSS via Data URIs, transmitting binary data in JSON format, sending email attachments (MIME), storing cryptographic keys or JWT tokens.
Features
- 3 modes: Plain text, Image (with visual preview), and Binary file (drag & drop)
- Encode and decode with one click or in real-time (text mode)
- URL-safe mode: replaces
+with-and/with_for tokens and URLs - Padding removal
=for compact formats - Configurable line wrap (MIME standard: 76 characters)
- Chunk splitting with custom block size
- Automatic Data URI prefix for images
- Statistics: input/output size and transformation ratio
Related Articles & Guides
Frequently Asked Questions
Q: Is Base64 Encoder / Decoder free to use?
R: Yes, the Base64 Encoder / Decoder utility is 100% free. All tools on Dolf.in are accessible at no cost and without intrusive ads.
Q: Is my data secure?
R: Absolutely. Dolf.in uses a 'Serverless' approach: your data is processed locally in your browser and is never sent to our servers.
Q: Do I need to install any software?
R: No, no download or installation is required. Everything works directly in your web browser.
Q: What is the maximum text size for Base64 encoding?
R: There is no strict limit imposed by the tool, but for optimal performance in your browser, we recommend not exceeding 5MB of plain text.
Q: Can I encode an image to Base64?
R: Yes, use the 'Image' tab to drag and drop your file. The tool will automatically generate the Data URI for your HTML or CSS tags.