Practical guide 3 min read
What DPI means, and how to get a 300 DPI image
Why DPI changes print size and not quality, how large your photo can print, and how to set 300 DPI without re-compressing it.
Encode an image as Base64 to embed it straight into HTML, CSS, JSON or an email template, with no separate file to host. Copy it as a data URI, a plain Base64 string, an <img> tag or a CSS background.
Drop an image here
or
You can also paste an image with Ctrl+V (⌘V on a Mac).
Your images stay on your device. Nothing is uploaded.
Most online image tools upload your pictures to their servers. This one doesn’t: Image to Base64 runs entirely in your browser, so family photos, IDs, screenshots and client work never leave your device. It’s free, with no watermark and no limit on how many images you process, and you don’t need an account.
For small images like icons, logos and email signatures, where avoiding a separate file matters. For large photos it's usually worse: the text is a third bigger than the file and can't be cached on its own.
No. The file's exact bytes are encoded, so the image is identical.
Base64 writes every 3 bytes as 4 text characters, so the text is about 33% larger than the file. Compress the image first to keep it small.
No. Every tool runs in your web browser, so your images are read, changed and saved on your own device and never sent to LabAnvil or anyone else. Once the page has loaded, the tools even work offline.
Free, with no watermark, no daily limit, no account and no cap on file size beyond what your device's memory can handle.
12 free image tools that run in your browser: convert HEIC, WebP and PNG, compress, resize, crop and remove photo metadata without uploading anything.
A little guidance
Practical guide 3 min read
Why DPI changes print size and not quality, how large your photo can print, and how to set 300 DPI without re-compressing it.
Practical guide 3 min read
Check whether a photo gives away where it was taken, then strip the location or all hidden details without changing how the picture looks.
Practical guide 3 min read
Make a JPG copy of your photos, choose quality and metadata settings, and understand why the result might be larger than the original.
Tool · New
18 free Markdown tools that run in your browser: an editor, slides, a README generator, Markdown to PDF, Word, Slack and Jira, a linter and more.
Tool · New
Print labels from Excel, Google Sheets or a CSV file: pick an Avery-compatible sheet, skip used labels and download a PDF. Addresses, QR codes and barcodes.
Tool · New
14 free printable planners and trackers: weekly and monthly plans, routines, meals, chores, budgets, workouts and more. Edit and print in your browser.
Cookies on LabAnvil
Analytics and advertising cookies help us see which tools people find useful and keep the site funded. Nothing is stored until you accept. See the privacy page for what gets collected.