MP3 Validator
Drop any .mp3 file to instantly check its structure. Detects ID3 tags, validates MPEG frame headers, reports bitrate, sample rate, and flags corruption or truncation. Nothing leaves your browser.
MP3 File
Drop a .mp3 file here, or
Supports .mp3 files up to 200 MB
⛔
Wrong file type — only .mp3 files are supported. You dropped a file.
Validation Errors
Warnings
✓ Valid MP3
ID3 Tag Metadata
How It Works
1
Drop your MP3 fileDrag it onto the drop zone or click "browse" to select it from your device.
2
Frame-by-frame analysisThe validator scans the binary file for MPEG sync words, reads each frame header, and checks for ID3 v1/v2 tags.
3
Review the reportGet a pass/fail result plus stats: MPEG version, layer, bitrate, sample rate, channels, duration estimate, frame count, and embedded metadata.
What Gets Validated
- MPEG sync header — every MP3 frame starts with an 11-bit sync word (
0xFF 0xE0+). Missing sync bytes indicate a corrupt or non-MP3 file. - MPEG version & layer — distinguishes MPEG 1, 2, and 2.5 with Layer I, II, or III (MP3 is Layer III).
- Bitrate — reads the bitrate index from the header (32–320 kbps for MPEG 1 Layer III). Detects variable bitrate (VBR) files.
- Sample rate — valid values are 44100 Hz, 48000 Hz, and 32000 Hz for MPEG 1.
- Channel mode — stereo, joint stereo, dual channel, or mono.
- ID3v2 tag — checks for the
ID3magic bytes at position 0, reads version, flags, and common frames (TIT2, TPE1, TALB, TRCK, TDRC). - ID3v1 tag — checks the last 128 bytes for the
TAGmarker and reads the fixed-length fields. - Frame count & consistency — walks up to 2,000 frames to detect bitrate changes and estimate audio duration.
🔒 Privacy & Security
All processing is performed locally using the Web File API and JavaScript ArrayBuffer. Your file is never sent to a server — suitable for sensitive or private content.
