Base64 File to Data URI Converter
A free browser-based Base64 file converter. Drag and drop any local file — image, font, SVG, stylesheet or document — and instantly convert it into a Base64-encoded string. Generates custom code blocks including raw base64, embedding Data URIs, ready-to-paste HTML img src tags, and CSS background-image url rules. 100% private, executed locally in your browser with the FileReader API.
🖼
Drop a file here
or tap to browse from your device
Never uploaded · 100% private · max 10 MB
Visual Preview
Select a file on the left to see live rendering