Base64Doc

Decode Base64 to MP3 & Play Inline

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

Paste audio Base64 or JSON payloads to verify MP3/WAV/OGG magic bytes, play audio directly in your browser via Blob URL, and download clean files.

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)

Instant Browser Auditioning for Text-to-Speech & Voice APIs

Paste raw JSON responses from Text-to-Speech endpoints and listen immediately inside the browser without saving temporary .mp3 files.

Read full technical details

Developers tuning pronunciation, SSML pauses, or speech rate across Text-to-Speech APIs often inspect dozens of JSON responses carrying audioContent Base64 fields. Saving test1.mp3 through test20.mp3 to your Downloads folder just to hear a three-second prompt slows iteration down.

Base64Doc extracts the Base64 field directly from pasted JSON, decodes it to a local Blob URL, and mounts a native HTML5 audio player right inside the preview pane so you can verify audio clarity in one click.

Catching WAV, OGG & FLAC Containers Returned Under .mp3 Names

Inspect audio magic bytes before saving so uncompressed WAV or Ogg Opus payloads never get saved with a misleading .mp3 extension.

Read full technical details

Misconfigured TTS presets frequently request LINEAR16 (uncompressed WAV) or OGG_OPUS while test scripts blindly append .mp3. Checking RIFF...WAVE (52 49 46 46), OggS (4F 67 67 53), and fLaC (66 4C 61 43) headers prevents broken desktop playback and shows the true format immediately.

Blob URL Playback Reliability vs Long Data URIs

Play multi-minute voice recordings cleanly without hitting URL truncation bugs in Chromium or Safari audio elements.

Read full technical details

Passing a decoded Uint8Array into Blob and mounting an Object URL gives browsers native seekable byte access in memory and automatically frees RAM when you load the next clip.

Step-by-Step Local Workflow

STEP 1

Paste Audio Base64 or TTS JSON Response

Drop a raw MP3 Base64 string, Data URI, or complete Text-to-Speech JSON response containing an audioContent key.

STEP 2

Verify Audio Codec Signature Locally

Base64Doc scans leading octets for ID3/MPEG frames, RIFF WAVE, OggS, or fLaC headers so mislabeled audio containers are caught immediately.

STEP 3

Audition Immediately via Blob URL Player

Press play on the embedded HTML5 <audio controls> widget powered by a safe local Blob URL—even on multi-megabyte voice recordings.

STEP 4

Download Verified .mp3 or True Format

Save the clean audio file under its verified extension (.mp3, .wav, or .ogg) with zero server storage.

Technical Specification Summary

CapabilityBase64Doc BehaviorEngineering Notes
Inline Playback MechanismBlob([bytes], { type }) -> <audio>Avoids browser Data URI length caps on long TTS voice clips.
Detected Audio CodecsMP3 (ID3/Sync), WAV, OGG, FLACAlerts immediately if a TTS API returned WAV instead of MP3.
TTS JSON Key SupportaudioContent / audio / payloadUnpacks nested Base64 audio straight from pasted API JSON responses.
Memory CleanupAutomatic URL.revokeObjectURL()Frees previous audio buffers whenever you paste a new sample.
Client Privacy100% browser RAM decodingConfidential voicemails and medical dictations stay strictly local.

Frequently Asked Questions

Can I listen to the decoded MP3 right in my browser before saving it?

Yes, Base64Doc mounts a native HTML5 audio player driven by a local Blob URL that revokes automatically when you switch files.

What happens if the Base64 audio is actually a WAV or OGG clip?

Base64Doc detects RIFF WAVE (52 49 46 46) or OggS (4F 67 67 53) magic bytes automatically and flags the mismatch. You can still audition the clip inline and save it with the true .wav or .ogg extension.

Can I paste an entire Text-to-Speech API JSON response containing audioContent?

Yes, the payload extractor parses the JSON automatically, isolates the Base64 audio string, and names the downloadable clip from its JSON key.

Why does a 10-second Base64 WAV sound clip look much larger than an MP3?

Uncompressed PCM WAV stores raw samples (often ~176 KB/sec for stereo 44.1 kHz) whereas compressed MP3 uses ~16–40 KB/sec before +33.33% Base64 expansion.

Are private customer call recordings sent anywhere during audio decoding?

No, decoding and HTML5 playback run strictly in local browser memory with zero outbound audio uploads.

Explore All 34 Base64 Converters & Developer Tools