Skip to the content
Start free

Image to Base64

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.

  • Free
  • No sign-up
  • Runs in your browser

Loading the tool…

Private: your file is read by this page, on your device. It is never uploaded, and we keep nothing.

Open in the URSY app β†’

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 #

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

Useful for:

  • Inline a small icon into CSS.
  • Decode a data URI found in code.
  • Move tiny images through text-only channels.

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 #

  • 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 #

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 #

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 #

Page facts checked 23 Nov 2026. Sources: RFC 2397: the data URL scheme

Cite this page: Image to Base64. URSY. Updated 24 November 2026. https://ursy.com/webmaster-tools/image-to-base64/ · Section links

All Webmaster Tools β†’ Β· Every URSY tool β†’