Why this tool exists
Upload an image once and leave with Base64 strings, data URIs, preview thumbnails, and metadata cards—no local scripts or CLI tools required.
Inline assets for docs
Convert logos or screenshots into Base64 strings or data URIs before pasting them into documentation or config files.
Email and CSS embeds
Generate Base64 + data URI snippets for transactional emails or CSS backgrounds without relying on CDNs.
Pre-flight previews
Inspect MIME type, dimensions, and size to verify uploads before dropping assets into S3 buckets or CMS libraries.
Quick start
Drag, wrap, encode, and copy. The encoder keeps everything server-side so preview fidelity never breaks.
- Open Image → Base64, drag a PNG/JPEG/WebP (up to 5 MB) onto the upload target, or click to browse.
- Pick a wrap preset (None, 64, or 76 characters). Enable “Include data URI output” if you need CSS-ready snippets.
- Submit the form to render the preview, metadata cards, and copy panels for wrapped, raw, and data URI outputs.
Upload requirements
- Supports JPEG, PNG, WebP, GIF, SVG, and BMP files with server-side validation. Maximum upload size is 5 MB per request.
- Drag-and-drop is fully supported; the drop zone highlights when your pointer hovers with a file.
- All processing stays server-side, so results are consistent even for large bitmaps or SVG payloads.
Mode 01
Upload workflow
Learn how the drop zone behaves and what happens immediately after you submit.
- Supports JPEG, PNG, WebP, GIF, SVG, and BMP files with server-side validation. Maximum upload size is 5 MB per request.
- Drag-and-drop is fully supported; the drop zone highlights when your pointer hovers with a file.
- All processing stays server-side, so results are consistent even for large bitmaps or SVG payloads.
Mode 02
Settings & presets
Wrap lines, switch on data URIs, and reset the canvas any time.
- Wrap presets mirror Base64 Lab options (none, 64, or RFC-friendly 76 characters). The wrapped output matches what email clients expect.
- Toggle “Include data URI output” to generate `data:image/...;base64,` values alongside the plain Base64 string.
- The reset button clears the selected file, form state, and any copy indicators so you can start fresh.
Outputs & metadata
Every upload returns previews, file info, and multiple copy targets so you can paste the right snippet immediately.
- Preview card renders directly from the Base64 data URI so you can confirm transparency and aspect ratio.
- Metadata cards show filename, MIME type, size, dimensions, and wrap preset for quick QA before deploying assets.
- Copy panels expose three targets: wrapped Base64, raw single-line Base64, and optional data URI. Each textarea is read-only with a copy button.
Field notes
Small habits that keep Base64 conversions predictable for front-end or email workflows.
- Keep wrapping off for JSON/YAML configs—turn it on for PEM-style outputs or email clients that expect fixed line lengths.
- Use the metadata size formatter to spot oversized hero images before they sneak into HTML emails.
- SVG uploads retain XML content; enable data URI output to drop them into CSS background rules instantly.
- Pair this tool with Extraction Helpers if you need to audit the resulting Base64 strings across multiple files.

