DevToolsKit

Image to Base64

Images to data URIs for embedding.

Drop an image, or click to choose

PNG, JPEG, WebP, GIF or SVG — encoded locally, never uploaded.

About this tool

Convert PNG, JPEG, WebP, GIF or SVG images to a Base64 data URL for CSS, HTML or JSON embedding — with size stats and one-click copy, all client-side.

It runs completely in your browser — no input is sent anywhere, and this page loads no ads or third-party scripts, so it is safe to use with data you would not paste into a hosted service.

Related tools