Skip to content

Encoding converters

Video to Base64

Convert video to Base64 online: drop an MP4, WebM or MOV and get raw Base64 or a self-contained data URI for demos, EPUB and offline apps. No uploads and no server limits — conversion happens on your device.

100% private · everything runs in your browser

Turn any video your browser can play into Base64 — with a live preview player, exact size accounting and a ready-to-paste data URI for demos, offline apps and single-file HTML documents. Container detection reads the file's real bytes, and the whole conversion never leaves your device.

Pick a file

Drop a file here

Any file works — images, PDFs, audio, video, archives. It is read locally in your browser and encoded to Base64 instantly; nothing is uploaded.

How to use

Video to Base64, step by step

  1. 01

    Drop a video file onto the box (or click to choose one). The clip is read locally with the File API — nothing is transmitted, ever.

  2. 02

    Check the result card for the detected container, exact byte size and the Base64 character count, then copy the raw Base64 or the paste-ready data URI.

  3. 03

    Paste the data URI into <video src>, or keep the raw Base64 for APIs and storage. A live preview player lets you confirm the clip before you ship the string.

FAQ

Frequently asked questions

Bounded only by your device: there is no upload and therefore no server limit. Very large files simply produce very large strings — budget about 1.33 bytes of Base64 per input byte, shown exactly in the result card.

All of them, plus anything else your browser plays. Detection reads the container signature (ftyp, EBML) so the MIME type in the data URI is verified from magic bytes rather than the extension.

Embedding the clip directly in HTML or a single-file document: <video src="data:video/mp4;base64,…">. Great for tiny loops, loading animations and offline prototypes — impractical for feature-length files.

No. Files are read and encoded inside the browser tab; there is no server in the loop. Closing the page erases everything.

Related tools

esc

Tools

Pages

↑↓ navigate↵ open⌘K

Keyboard shortcuts

Same shortcuts everywhere — ⌘ on macOS, Ctrl on Windows and Linux.