Convert any file to Base64 instantly. Supports all file types including PDFs, documents, audio, video, and archives. Perfect for API payloads and data embedding.
Base64 encoding transforms binary files into text that can be safely transmitted through text-based protocols like JSON, XML, or email. This tool handles any file type and generates standards-compliant output.
Choose between raw Base64 output or a complete data URI that includes the MIME type. Data URIs are ready to use in HTML, CSS, or JavaScript.
You can encode files up to 50MB. For very large files, consider server-side processing or streaming approaches.
Base64 encoding increases file size by approximately 33%. This is expected behavior for all Base64-encoded content.
No. All encoding happens in your browser. Your files stay on your device and are never transmitted to any server.
Encode or decode Base64 strings directly in your browser
Convert text to Base64 or decode Base64 to plain text
Convert images to Base64 encoded strings
Decode Base64 strings back to viewable images
Decode any Base64 string back to its original file
Decode Base64 strings to PDF documents
Decode and inspect JWT tokens
Encode or decode URLs with percent-encoding
Convert special characters to HTML entities and back
Convert between hex and Base64 formats