Base64 Image Data URI Encoder
Convert small icons or graphics into inline Base64 data URIs and ready-to-paste CSS background snippets locally.
Choose a local PNG, JPEG, or WebP image (processed 100% offline in your browser)
Common questions
When should I use a Base64 image instead of a normal file?
Use Base64 only for tiny icons or placeholders under 4 KB; larger Base64 strings bloat HTML and cannot be cached separately.
How much larger is Base64 than raw binary?
Base64 encoding adds roughly 33% size overhead compared to the original binary image file.
More image & svg tools
LQIP Blur Placeholder SVG Generator
Generate lightweight inline SVG gradient blurDataURL strings for Next.js Image placeholders with zero extra requests.
SVG Optimizer & Minifier
Strip editor metadata, XML comments, and excess whitespace from SVG markup with live preview and byte-savings metrics.
URL, Base64 & HTML Entity Encoder/Decoder
Encode or decode URL components, UTF-8 Base64 strings, and HTML entities instantaneously inside your browser.
Bulk Image Converter (WebP, PNG, JPEG)
Convert and compress multiple images locally in your browser to WebP, JPEG, or PNG with instant savings stats.
Image Resizer & Aspect Cropper
Resize and center-crop photos locally to exact 16:9, 4:3, 1:1, or 1200x630 Open Graph dimensions.
Favicon & App Icon Pack Exporter
Upload your square logo once to generate 16px, 32px, 48px, 180px Apple Touch, 192px, and 512px PNG icons locally.