Base64Doc

Decode Base64 to MP4 & Preview Inline

100% Browser Local · 0 File Uploads · 100MB+ Ready

Inspect data:video/mp4;base64 payloads safely via local Blob URLs, verify ftyp/WebM headers, and download verified video clips without server uploads.

Try 1-Click Synthetic Samples (Zero-Trademark):

Drop any file, paste Base64, or press Ctrl/Cmd+V with clipboard files or raw API JSON

Runs inside a local Web Worker. Network tab stays at 0 file POST requests.

0 chars
Decoded Result & Document Actions Appear Here

Paste any Base64 string, Data URI, Postman JSON, SOAP XML, HAR, or EML payload on the left.

Interactive Synthetic Showcase Gallery

Load real client-side verified payloads straight into the workbench above. Zero third-party trademarks.

Free · InstantCASE-1

Shipping API JSON -> 2 Auto-Named PDFs + 180 deg Label Fix

Input Payload
Raw Shipping API JSON (4.8 KB)
Verified Output
waybill_label.pdf (4x6 in, 180 deg -> 0 deg) + commercial_invoice.pdf (A4, 2 pages)
Real browser-decoded output preview (client-side only)
Free · InstantCASE-2

ERP Payload -> PK\x03\x04 Verified 3-Sheet Excel Preview

Input Payload
ERP Base64 Payload (122.8 KB)
Verified Output
Summary (128 rows x 11 cols), LineItems (48 rows), Tax (24 rows) -> .xlsx / .csv / .json
Real browser-decoded output preview (client-side only)
Free · InstantCASE-3

Broken Data URI + MIME Fix + White Transparent Logo

Input Payload
Broken data:image/jpeg;base64 + \/ + newlines (4.9 KB)
Verified Output
Auto-fixed to image/png (512x512 px) + Checkerboard reveals white emblem
Real browser-decoded output preview (client-side only)
Free · InstantCASE-4

Gzip + Base64 Unpack & Korean EUC-KR Mojibake Self-Heal

Input Payload
Gzipped Base64 (212 chars) + EUC-KR Receipt
Verified Output
Gunzipped JSON + EUC-KR Hangul receipt recovered from UTF-8 replacement chars
Real browser-decoded output preview (client-side only)
Free · InstantCASE-5

40-Page Contract Slimming + Gateway Green-Light Check

Input Payload
40-Page Synthetic Contract PDF (33.7 KB)
Verified Output
Extract Page 1 -> +33.3% Base64 fits comfortably under 4.5 MB Vercel limit
Real browser-decoded output preview (client-side only)

Why Blob URL Video Decoding Beats Inline data:video/mp4 URIs

Bypass browser URL character ceilings so decoded multi-megabyte MP4 videos play and scrub reliably inside HTML5 video controls.

Read full technical details

Pasting a long data:video/mp4;base64 string straight into a browser tab or naive <video src="data:..."> element frequently stalls or fails silently once encoded text exceeds roughly 2 MB. Browsers parse inline Data URIs through URL pipelines never intended for multi-megabyte media buffers.

Base64Doc decodes the string inside a Web Worker into a contiguous Uint8Array, wraps it in new Blob([bytes], { type: "video/mp4" }), and mounts URL.createObjectURL(). Because the browser reads straight from an internal binary memory handle, playback and timeline scrubbing work cleanly.

Disambiguating MP4, QuickTime MOV & WebM Containers

Inspect offset-4 ftyp brand tags and EBML signatures so misnamed QuickTime MOV or WebM clips open with the right extension.

Read full technical details

Both MP4 and Apple QuickTime MOV share the ISO Base Media ftyp box at byte offset 4, differing in their 4-byte major brand (isom/mp42 vs qt ). Meanwhile browser MediaRecorder APIs emit WebM streams starting with 1A 45 DF A3. Base64Doc inspects all three signatures locally before download.

Zero-Upload Screening for Screen Captures & Camera Feeds

Audit security camera clips, AI-video outputs, or bug-report recordings completely offline in your browser.

Read full technical details

When switching inputs, the Blob URL registry revokes previous video buffers automatically to keep browser memory clean and responsive.

Step-by-Step Local Workflow

STEP 1

Paste MP4 Base64 or Data URI String

Drop a raw string starting around AAAAIGZ0eXB..., a data:video/mp4;base64 URI, or a JSON payload; quotes and whitespace are stripped automatically.

STEP 2

Inspect ftyp / EBML Video Container Header

Base64Doc inspects offset 4 for ftyp brand boxes (isom/mp42 vs qt ) and 1A 45 DF A3 for WebM so container mismatches trigger warnings.

STEP 3

Play & Scrub Inline via Local Blob URL

Preview the decoded video inside an HTML5 <video controls playsinline> player backed by a local Blob URL rather than an address-capped data: URI.

STEP 4

Save Verified Video File Locally

Download the confirmed .mp4, .mov, or .webm clip directly from browser memory with zero network round-trips.

Technical Specification Summary

CapabilityBase64Doc BehaviorEngineering Notes
Playback MechanismUint8Array -> Blob URL <video>Supports scrubbing and large clips where data:video/mp4 URLs truncate.
MP4 Header MatchOffset 4..8: 66 74 79 70 (ftyp)Identifies major brands like isom, mp42, M4V , and QuickTime qt .
WebM Header Match1A 45 DF A3 (EBML)Switches playback MIME to video/webm automatically when matched.
Buffer LifecycleRevokes old Blob URLs cleanlyPrevents multi-megabyte video RAM retention across repeated tests.
Upload Exposure0 outbound bytesScreen recordings and internal demos stay strictly on your machine.

Frequently Asked Questions

Why do data:video/mp4;base64 strings sometimes fail to play when pasted into an address bar?

Browsers enforce strict URL character caps on data: URIs around ~2 MB. Base64Doc decodes raw octets into a local Blob URL so multi-megabyte MP4 clips play reliably.

Can Base64Doc detect if a video payload is WebM or QuickTime MOV instead of MP4?

Yes, it checks offset-4 brand codes and leading bytes to distinguish 1A 45 DF A3 WebM, ftypqt QuickTime MOV, and ftypisom/mp42 MP4 containers automatically.

Why do MP4 Base64 strings frequently start with AAAAIGZ0eXB or AAAAGGZ0eXB?

The leading 4 bytes encode the first atom size (e.g., 00 00 00 20 or 00 00 00 18) followed immediately by "ftyp" (66 74 79 70), producing AAAA...GZ0eXB in Base64.

What if my decoded MP4 plays audio only with a black video frame?

A black video frame with working audio indicates a codec unsupported by your current browser (such as HEVC/H.265 inside an MP4 ftyp container). Download the verified .mp4 file locally to play it in VLC or desktop media players.

Does previewing a decoded MP4 upload the video frames to any backend?

No, decoding, container detection, and HTML5 Blob playback execute 100% locally in your browser.

Explore All 34 Base64 Converters & Developer Tools