Free Base64 Encoder & Decoder

Convert any file β€” image, audio, PDF, video, font β€” to a Base64 string for embedding in HTML, CSS, JSON or an API payload. Or paste a Base64 string / data URI to decode it back into a downloadable file. Everything runs locally in your browser: nothing is ever uploaded to a server.

Encode a file to Base64
πŸ¦•

Drop any file here

or click to browse

Images Β· Audio Β· Video Β· PDF Β· Fonts β€” any file type, up to 15 MB

β€”
β€”

Common Base64 conversions

Image to Base64 (PNG, JPG, SVG, WebP, ICO, GIF, AVIF)

Embed images directly inside HTML or CSS with a data:image/png;base64,… URI β€” no separate image request, useful for small icons, favicons and inline SVGs.

Audio to Base64 (MP3, WAV, OGG)

Many APIs (speech-to-text, messaging platforms, chatbots) expect audio as a Base64 payload rather than a binary upload. Drop your MP3 or WAV file above to get the string instantly.

PDF to Base64

Useful for sending documents through JSON APIs or storing small PDFs directly in a database field.

Base64 to file (decode)

Paste a Base64 string or full data URI in the Decode tab and DinoConvert rebuilds the original file for download β€” it also tries to auto-detect the file type from the data URI's MIME type.

βœ… Done!
.