Image to Base64 Converter
Convert images to Base64 locally. Your files stay on your device.
01 / Your image
PNG · JPEG · WebP · GIF · SVG · BMP · ICO
Preview support depends on your browser.
Optional settings Compress or resize
Off keeps the original file bytes. On exports a static JPEG or WebP; animation and metadata are not retained.
02 / Encoded output
Ready for an image0 = one line. Applied to plain Base64 only.
Encoded file
Byte check
Byte check decodes the Base64 and compares it with the bytes used for encoding. With compression on, it checks the exported image, not the original.
Explore more tools
Image tools
Encoding and data tools
- ASCII code to text decoder
- Text to ASCII encoder
- Binary text translator
- Hex to text and text to hex converter
- Hex to decimal and decimal to hex converter
- Binary to decimal and decimal to binary converter
- Hex to binary and binary to hex converter
- Complete ASCII table
- SHA-256 text hash generator
- MD5 text hash generator
- Unicode code point and UTF-8 converter
- Hash feature candidate tool
- Decimal to Octal
- Binary to Octal
- Octal to Binary
- Octal to Hex
- Hex to Octal
- Decimal to Binary
- Decimal to Hex
- Binary to Hex
- Base64 decode
- JSON Escape
- Hash Generator
- URL Decoder and Encoder
- HTML Entity Encoder and Decoder
- Punycode Converter
- Base58 Encode
- How to decode Base64 gzip in Python
- How to stream Base64 into UTF-8 text in Python
- How to read duplicate ZIP filenames in Python
- How to decode a Base64 gzip response with Python Requests
Other tools
- Caesar cipher decoder and ROT13 tool
- Morse code text translator
- Vigenere encrypt and decrypt tool
- Atbash alphabet reversal tool
- Classic cipher result comparison tool
- Pigpen symbol encoder and decoder
- Substitution cipher mapping tool
- Bacon cipher A/B tool
- Playfair key-square tool
- Rail fence transposition tool
- Cipher feature candidate tool
- Three-rotor Enigma simulator
Related experiment: How to Stream Base64 into UTF-8 Text in Python — watch on YouTube.