---
title: "Image to Base64"
description: "Free Image to Base64: turn an image into a data URI, or a Base64 string back into an image. Runs in your browser, nothing is uploaded."
url: https://ursy.com/webmaster-tools/image-to-base64/
updated: 2026-11-24T16:08:40+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/webmaster-tools/image-to-base64/
---

# Image to Base64

> Free Image to Base64: turn an image into a data URI, or a Base64 string back into an image. Runs in your browser, nothing is uploaded.

Turn an image into a data URI, or a Base64 string back into an image. It runs in your browser: the file never leaves your device, and there is no sign-up.

## What it does {#what-it-does}

Both directions with size-tax honesty and a 2MB encode cap.

**Useful for:**

- Inline a small icon into [CSS](https://ursy.com/wiki/css/).
- Decode a data URI found in code.
- Move tiny images through text-only channels.

## How to use it {#how-to-use-it}

1. Pick the direction.
2. Provide file or Base64.
3. Preview (decode) or copy the URI (encode).
4. Respect the ~33% size tax — inline only the small stuff.

## Know the limits {#limits}

- Rule-based findings are evidence for human judgement, not a verdict; passing every check guarantees no ranking, citation or delivery outcome.
- The analysis covers only what you supply, at this moment — live systems, remote state and future behaviour are outside its sight.

## Private by design {#private}

The picture you choose is opened by this page in your own browser. It is not uploaded to URSY or to anyone else, and nothing is kept after you close the page. We only count that the tool was used, never what you put in it.

## Questions {#questions}

**Why does Base64 make files bigger?**

It spends 4 text characters per 3 bytes — the +33% is mathematics, not inefficiency. Useful where only text travels; wasteful as a general image format.

**Why the 2MB cap on encoding?**

A 2MB image becomes ~2.7MB of markup that defeats caching and chokes editors. The cap is a design opinion: past it, serve a file like the web intends.

## Words to know {#words}

- [Why your website is slow: the usual causes and fixes](https://ursy.com/wiki/why-your-website-is-slow/)
- [Lazy loading](https://ursy.com/wiki/lazy-loading/)

## Related tools {#related}

- [**EXIF Remover** Strip hidden data (camera, GPS, dates) from a photo before you publish it.](https://ursy.com/webmaster-tools/exif-remover/)
- [**Colour Blindness Simulator** See an image as people with protanopia, deuteranopia or tritanopia see it.](https://ursy.com/webmaster-tools/colour-blindness-simulator/)
- [**Background Remover (solid colour)** Remove a plain, even background from a product shot or logo.](https://ursy.com/webmaster-tools/background-remover/)
- [**Colour Contrast Checker (WCAG)** Check text and background colours against the WCAG AA and AAA contrast rules.](https://ursy.com/webmaster-tools/colour-contrast-checker/)

Page facts checked 23 Nov 2026. Sources: [RFC 2397: the data URL scheme](https://www.rfc-editor.org/rfc/rfc2397)
