Home / Developer Tools / Web Encoding & Escaping / File to Base64 & Data URI Converter

File to Base64 & Data URI Converter

Processed in your browser

Convert any local file (images, PDFs, audio, fonts, documents) to Base64 data URI format or decode Base64 strings back to downloadable binary files.

P0 Privacy: 100% Client-Side FileReader & Blob API

Drag & drop any file here, or click to browse

Supports PNG, JPG, SVG, WebP, PDF, Audio, Video, Fonts (WOFF2), ZIP, and JSON

Base64 Output: