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 #
- Pick the direction.
- Provide file or Base64.
- Preview (decode) or copy the URI (encode).
- 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 #
Related tools #
- EXIF RemoverStrip hidden data (camera, GPS, dates) from a photo before you publish it.
- Colour Blindness SimulatorSee an image as people with protanopia, deuteranopia or tritanopia see it.
- Background Remover (solid colour)Remove a plain, even background from a product shot or logo.
- Colour Contrast Checker (WCAG)Check text and background colours against the WCAG AA and AAA contrast rules.
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