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)
Inspect data:video/mp4;base64 payloads safely via local Blob URLs, verify ftyp/WebM headers, and download verified video clips without server uploads.
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.
Paste any Base64 string, Data URI, Postman JSON, SOAP XML, HAR, or EML payload on the left.
Load real client-side verified payloads straight into the workbench above. Zero third-party trademarks.
Bypass browser URL character ceilings so decoded multi-megabyte MP4 videos play and scrub reliably inside HTML5 video controls.
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.
Inspect offset-4 ftyp brand tags and EBML signatures so misnamed QuickTime MOV or WebM clips open with the right extension.
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.
Audit security camera clips, AI-video outputs, or bug-report recordings completely offline in your browser.
When switching inputs, the Blob URL registry revokes previous video buffers automatically to keep browser memory clean and responsive.
Drop a raw string starting around AAAAIGZ0eXB..., a data:video/mp4;base64 URI, or a JSON payload; quotes and whitespace are stripped automatically.
Base64Doc inspects offset 4 for ftyp brand boxes (isom/mp42 vs qt ) and 1A 45 DF A3 for WebM so container mismatches trigger warnings.
Preview the decoded video inside an HTML5 <video controls playsinline> player backed by a local Blob URL rather than an address-capped data: URI.
Download the confirmed .mp4, .mov, or .webm clip directly from browser memory with zero network round-trips.
| Capability | Base64Doc Behavior | Engineering Notes |
|---|---|---|
| Playback Mechanism | Uint8Array -> Blob URL <video> | Supports scrubbing and large clips where data:video/mp4 URLs truncate. |
| MP4 Header Match | Offset 4..8: 66 74 79 70 (ftyp) | Identifies major brands like isom, mp42, M4V , and QuickTime qt . |
| WebM Header Match | 1A 45 DF A3 (EBML) | Switches playback MIME to video/webm automatically when matched. |
| Buffer Lifecycle | Revokes old Blob URLs cleanly | Prevents multi-megabyte video RAM retention across repeated tests. |
| Upload Exposure | 0 outbound bytes | Screen recordings and internal demos stay strictly on your machine. |
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.
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.
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.
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.
No, decoding, container detection, and HTML5 Blob playback execute 100% locally in your browser.
Avoid Chrome data: URI truncation and memory leaks when rendering Base64 PDFs in JavaScript using Uint8Array, Blob URLs, and Web Workers.
Fix binascii.Error Incorrect padding and binary mode corruption when decoding Base64 PDFs, Excel sheets, and images in Python.
Diagnose why base64 -d, atob, or APIs fail with invalid input: data: prefixes, URL-Safe -/_ chars, JSON \/ escapes, whitespace, and missing =.
Understand the +33.3% Base64 expansion math, Data URI overhead, Vercel 4.5MB and AWS 6MB/10MB payload limits, and when to switch to binary uploads.
Eliminate garbled characters (mojibake) when decoding Korean EUC-KR/CP949, Japanese Shift_JIS, Chinese GB18030, or Cyrillic Base64 payloads.
Cross-platform cheat sheet comparing GNU/Linux base64 -d -w0, macOS BSD base64 -D -i/-o, and Windows PowerShell [Convert]::FromBase64String.
Diagnose why decoded Base64 to PDF files open blank, corrupted, or upside down: 2MB Data URI caps, JSON \/ escapes, HTML 502 payloads, and text writes.
Convert Base64 columns in Excel without add-ins using Power Query Binary.FromText, Office Scripts, or VBA MSXML2, and avoid 32,767 cell truncation.