Base64 Encoder & Decoder
Encode and decode text with Base64.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Encode and decode text with Base64.
Decode JWT tokens to inspect header and payload claims.
Format, minify, and validate JSON with optional key sorting.
Compare two JSON documents and list structural differences.
Format, minify, and validate XML with readable indentation.
Compare two XML documents and list structural differences.
Generate UUIDs for apps, tests, and databases.
Create compact short links for long URLs.
This image to Base64 converter encodes PNG, JPG, and other image files into Base64 strings for data URIs, inline email assets, and JSON API fields. Upload an image, copy the encoded output, and embed without hosting a separate file.
Base64 expands file size by roughly 33%—prefer external URLs for large images in production pages.
Data URIs work well for tiny icons, test fixtures, and single-file prototypes.
Upload or select an image file, encode to Base64, and copy the full data URI or raw Base64 string as needed.
Example: encode a 4 KB favicon PNG to a `data:image/png;base64,...` URI for an inline HTML email template.
Choose Encode or Decode, then paste or type text. Encoding converts UTF-8 text to standard Base64. Decoding accepts standard or URL-safe Base64 (with optional whitespace) and returns the original text. All processing runs on your device.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
These pages use the same base64 encoder & decoder with guides tailored to specific search intents.
FAQ
Common formats like PNG, JPEG, GIF, and WebP typically encode through the base tool file input.
Very large files may slow the browser—keep inline assets small for practical use.
Encoding works on your device on Utilnivo.
Page last reviewed: