Thunder Tools

Image to Base64 Converter

Choose an image file and this tool encodes it as a Base64 data URI, ready to paste into an <img> src, a CSS background-image, or a JSON payload. Everything happens locally in your browser: the image is never uploaded anywhere.

No image selected yet — choose a file to get started.

Your image never leaves your browser

This converter reads the file locally using the browser's File API and never uploads it anywhere — the encoding happens entirely on your device, so it works offline and keeps your images private.

How it works

A Base64 data URI embeds the image's raw bytes directly inside a string, prefixed with its MIME type (e.g. data:image/png;base64,...). You can drop that string anywhere a URL is expected — an <img> tag, a CSS background-image, or a JSON field — with no separate file to host.

Tip

Base64 encoding inflates file size by roughly a third, so it works best for small icons, logos, or thumbnails rather than large photos — for bigger images, linking to a regular file is usually faster.

More tools in this category

Regex Tester

Test regular expressions against sample text with live match highlighting.

Cron Expression Parser

Parse a 5-field cron expression into a plain-language schedule and see its next run times.

Text Encoding Converter

Convert text to UTF-8 hex, binary, code points, Base64, URL encoding and HTML entities at once.

Password Generator

Generate strong, random passwords instantly, right in your browser.

JSON Formatter & Validator

Format, validate, and minify JSON instantly in your browser.

UUID Generator

Generate random, RFC 4122 version 4 UUIDs instantly in your browser.

JWT Decoder

Decode and inspect JSON Web Tokens (JWTs) instantly in your browser.

Diff Checker

Compare two blocks of text and instantly see every line that was added or removed.

Slug Generator

Turn any text into a clean, URL-friendly slug in real time.

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal instantly.

Unix Timestamp Converter

Convert Unix timestamps to dates and dates to Unix timestamps, live.

Hash Generator

Generate SHA-1, SHA-256, and SHA-512 hash digests from any text, right in your browser.

Box Shadow Generator

Design a CSS box-shadow visually with live sliders and a color picker, then copy the generated declaration.

Cron Expression Builder

Build a valid 5-field cron expression from a friendly form — no need to memorize the syntax.

Lorem Ipsum Generator

Generate placeholder Lorem Ipsum text by paragraphs, sentences, or words for mockups and layouts.

Markdown Previewer

Write Markdown on the left and see the rendered HTML update live on the right.

IP Subnet Calculator

Enter an IPv4 address in CIDR notation and get its network, mask, broadcast, and host range.

HTTP Status Code Lookup

Look up any HTTP status code and see its standard meaning in plain English.

SQL Formatter

Pretty-print minified or messy SQL into readable, indented statements.

Semver Comparator

Compare two semantic version strings and see which one takes precedence, following the official semver rules.

More categories

Thunder Tools is a small, ad-light collection of browser tools and calculators, built to be fast, free, and useful without getting in your way.

© 2026 Thunder Tools by Muted Thunder · All rights reserved.