Audio Metadata Extractor

Inspect MP3, WAV, FLAC and Ogg metadata online: ID3, APE, WAV INFO and Vorbis comments with byte offsets, plus a scan of the original bytes for printable strings and flag-shaped values. Runs in your browser.

MP3 · WAV · FLAC · Ogg
Byte offsets
Strings scan
Audio metadata extractor

This tool reads the tags an audio file already carries (ID3, APE, WAV LIST/INFO, FLAC and Ogg comments) and lists the printable strings in the original bytes. It only reads: nothing is edited, and it does not decode steganography. For data hidden in the audio signal itself use the Audio Steganography Extractor.

Drop an MP3, WAV, FLAC or Ogg file here, paste it (Ctrl/⌘+V), or

Up to 100 MB · read in your browser, never uploaded

Try a sample

How to read the tags and strings of an audio file (5 steps)

  1. Add an audio file: Drop an MP3, WAV, FLAC or Ogg file, paste it, or choose it. The limit is 100 MB, or 50 MB on phones and on devices that report little memory or few processor cores. A read that takes longer than 60 seconds is stopped.
  2. Read the tags: The Tags & strings tab lists every field of every tag container the file carries, by the name its format gives it, with its value, its byte offset and its length. A value that matches a flag pattern is marked flag-shaped and a banner appears at the top.
  3. Check the strings: Under the tags, a strings pass over the original bytes lists printable ASCII runs of 4 or more characters, whether or not they sit inside a tag. The first 200 are listed; flag-shaped ones are always listed.
  4. Look at the exact bytes: Every tag field and string has a Hex Viewer button that opens the Hex Viewer at that offset with the range highlighted. An embedded picture can be saved.
  5. Send the file on: Next steps suggests tools from what was found, each with a reason. The JSON report holds the tags, the offsets and the strings list.

What Is Audio Metadata?

Audio metadata is information stored in an audio file next to the sound itself: a title, an artist, an album, a comment, the program that wrote the file, sometimes cover art. You see it as the song details in a player. A tag editor shows the common fields; this tool also shows the unusual ones, such as custom keys and private data, with the position of each in the file. Anyone can read it, which is why a CTF author may leave a hint or a flag there.

What This Tool Reads

This section is the technical scope: which containers and formats are read, and which are not. Each format defines its own tag container, and this tool shows both the containers and the plain bytes around them before anything harder is tried.

Tag containers read: for MP3, ID3v1 (the 128-byte trailer), ID3v2.2, 2.3 and 2.4 (the tag at the start) and APEv2 (a tag at the end of the file, or one with a header at the start); for WAV, the LIST chunk of type INFO and an 'id3 ' chunk (an ID3v2 tag inside the RIFF file); for FLAC, the VORBIS_COMMENT, PICTURE and APPLICATION metadata blocks, including a FLAC file that an ID3v2 tag precedes; for Ogg, the comment header of a Vorbis or Opus stream. The format is decided from the file's first bytes, never from its name.

Not read: MP4/M4A/AAC, WMA, AIFF and other audio formats; Ogg streams that are not Vorbis or Opus (FLAC in Ogg, for example). The tool only reads. It does not edit, remove or write a tag, and it does not decode steganography: data hidden in the audio signal itself needs a steganography extractor such as the Audio Steganography Extractor or the MP3 and WAV extractors, each of which reads only the methods it supports.

How the Parser Works

(technical detail, click to open)

The worker reads the file with File.slice, never the whole file at once for the tags: ID3v2 and Ogg tags sit at the start, ID3v1 and APEv2 at the end, FLAC and RIFF are walked block by block from their headers, and the audio data itself is skipped by arithmetic. An ID3v2 tag starts with a 10-byte header (the letters ID3, a version, flags and a size written as four 7-bit bytes); frames follow, each with an identifier, a size and flags. Text frames carry an encoding byte (ISO-8859-1, UTF-16 with or without a byte-order mark, or UTF-8), which the tool decodes; a trailing NUL that writers add is not shown as part of the value.

Each field is shown with the name its format gives it (TIT2 is Title, INAM is Title, a Vorbis key is shown as written), its value, the byte offset where the whole field structure starts (frame header, chunk header, item or comment length) and the number of bytes it occupies. Those two numbers are what the Hex Viewer button uses. A comment or user-text frame also shows its language and description; a private frame shows its owner and the start of its data.

A doctored file is expected. When a size runs past the end of the file or of its container, an identifier is invalid or a version is unknown, the parser stops at that point, keeps every field it read before it, and says so with the byte offset and the reason. It never throws and never discards the fields already read. Reads are bounded: at most 32 MiB of one tag body, 5,000 fields per file and 32 MiB of an Ogg stream while it looks for the comment header.

The Strings Pass

The strings pass runs on the original bytes of the file as uploaded, separately from the tags. It uses the same definition as the Strings Analyzer: printable ASCII (0x20 to 0x7E) runs of 4 or more characters. It is a first pass, not the full tool: no UTF-16, no regular-expression filter, no other lengths. It lists the first 200 matches in file order and counts all of them; if there are more, the page says how many and offers the full Strings Analyzer.

A flag-shaped string anywhere in the file is listed separately even beyond the first 200, so a flag far down a large file is not dropped by the cap. Only the first 300 characters of a string are shown, and only the first 64 KiB of one very long unbroken run are examined for flag patterns.

Flag-Shaped Values

A value is flag-shaped when it matches the pattern set the Strings Analyzer uses: flag{…}, ctf{…}, htb{…}, thm{…}, picoctf{…}, uctf{…} or acsc{…} (any capitalisation), or a short name of 2 to 10 letters, digits or underscores followed by braces holding 4 to 100 characters without spaces. That is a pattern match. It does not show that a value is a flag, that it was hidden on purpose, or that anything else is in the file. Ordinary tags such as a title are not marked.

Embedded Pictures

ID3 picture frames (APIC, or PIC in ID3v2.2), FLAC PICTURE blocks and base64 pictures in an Ogg comment are listed with their declared type, size and description. Save picture writes the picture's own bytes to your disk, up to 20 MB, and names the file from the picture's first bytes (PNG, JPEG, GIF, WebP or BMP), never from the type the tag declares; bytes that start like none of those are saved as .bin and the page says so. An Ogg picture stored as base64 in a comment, or an ID3 picture in a tag or frame that uses unsynchronisation, is listed but cannot be saved, because its bytes in the file are not the picture's own bytes. The tool does not display the picture.

Where Data Can Sit in an Audio File

Where a flag or a trace can be left, and whether this page looks there.

LocationWhat it isChecked by this tool?
An ID3 comment or user-text frameText in an MP3's ID3 tagYes: listed in the tag table
A WAV INFO field, such as ICMTText in the LIST chunk of a WAVYes: listed in the tag table
A Vorbis commentKEY=VALUE text in a FLAC or Ogg fileYes: listed in the tag table
Padding, or text after the audioPlain bytes outside every fieldPartly: the strings pass lists printable ASCII of 4 or more characters; ID3 padding with non-zero bytes is noted
A picture, private frame or application blockBinary data inside a tagListed with its size and first bytes; a picture can be saved; the content is not interpreted
Audio samples and signal-level modificationsData hidden in the sound itselfNo: the Audio Steganography Extractor decodes the methods it supports

Audio Metadata and Audio Steganography

Two different things that are easy to confuse.

Metadata (this tool)Steganography decoding
Where the data sitsIn tag containers and the plain bytes of the fileIn the audio signal itself
Visible to a tag editor or the strings commandUsually yesNo
Needs a method or settings to readNo: it is read as storedUsually: the method, its settings and sometimes a password
Tool on this siteAudio Metadata Extractor (this page)Audio Steganography Extractor

Tag Containers Read, by Format

What is shown for each container and what its offset means. A field's offset is where its whole structure starts in the file, so it can be opened directly in the Hex Viewer.

FileContainerFields shownOffset and length
MP3ID3v1 trailerTitle, Artist, Album, Year, Comment, Track (ID3v1.1) and the genre indexOffsets inside the last 128 bytes of the file
MP3, WAV, FLACID3v2.2, 2.3, 2.4Every frame: text, comment, user text, URL, picture, private and others (binary frames show their size and first bytes). On an MP3 an ID3v2.4 tag with a footer at the end of the file is read tooOffset of the frame header; length includes the header
MP3APEv2Every item, text or binary, by its keyOffset of the item; length covers its header, key and value
WAVLIST / INFOEvery four-letter field, such as INAM, IART, ICMT, ICRD, ISFTOffset of the sub-chunk header
FLACVORBIS_COMMENT, PICTURE, APPLICATIONVendor string, every KEY=VALUE comment (custom keys as written), pictures, application blocksOffset of the comment length; blocks by their header
OggVorbis or Opus comment headerVendor string and every KEY=VALUE commentFile offsets, even when a comment spans two Ogg pages

Examples

Input: tagged-song.mp3, the first sample: 1,417 bytes, an ID3v2.3 tag with title, artist, album, a comment and a user-text field.

Result: One container, ID3v2.3 tag, bytes 0 to 165 (166 bytes), five fields. Title "Night Drive" at offset 0xA, Artist "The Signal", Album "Static", Comment (language eng) "flag{id3_comment_tag}" at offset 0x46 for 36 bytes, flagged flag-shaped, and a User text field with description "note". The strings pass finds 7 strings and lists the flag-shaped one at offset 0x55.

Meaning: The flag-shaped comment is a tag field, so it is found without any decoding. The banner is shown and the section opens on the Tags & strings tab. Two offsets differ: 0x46 is where the whole COMM frame starts, 0x55 is where its text starts, 15 bytes later (10 of frame header, 1 encoding byte, 3 language bytes and 1 byte of empty description terminator).

Input: trailing-text.mp3, the second sample: 1,640 bytes, two ordinary tags and a flag-shaped string in padding after the audio.

Result: ID3v2.3 tag of 79 bytes with two fields, Title "Plain Title" and Artist "Plain Artist", neither flagged. The strings pass finds 4 strings and lists a flag-shaped one at offset 0x5FA (1,530), well after the tag.

Meaning: A check of the tags alone finds nothing here. The strings pass reads the original bytes, so it finds text that sits outside every tag container. Open the offset in the Hex Viewer to see what surrounds it.

Input: field-recording.wav, the third sample: 946 bytes with a RIFF LIST chunk of type INFO.

Result: One container, WAV LIST/INFO chunk, bytes 36 to 137 (102 bytes), four fields: INAM Title "Field Recording", IART Artist "Anon", ICMT Comment "flag{riff_info_comment}" (flagged) at offset 0x56 for 32 bytes, and ISFT Software "demo writer".

Meaning: RIFF INFO fields are four-letter identifiers, each followed by a size and a NUL-terminated string. The page shows each with its standard name (INAM is Title) and keeps an identifier it does not know as its own name.

Input: A 7,956-byte MP3 with an empty ID3 tag, 350 short text lines stored after the audio, and a flag-shaped string at the very end.

Result: No tag fields. The strings pass counts 351 strings and lists the first 200 (line 0000 to line 0199); the page says "Showing the first 200 of 351 strings" and offers the Strings Analyzer. The flag-shaped string at offset 0x1EFF (7,935) is listed above the cap anyway.

Meaning: The cap keeps the list readable, and the flag-shaped string is never lost behind it. Open the offset in the Hex Viewer, or the full list in the Strings Analyzer.

Input: A doctored MP3 (43 bytes): an ID3v2.3 header that declares 100 bytes of tags, a good title frame, then a frame TPE1 that declares 2,147,483,392 bytes.

Result: Title "Good title" is shown. Two notes appear: "The ID3 tag declares 100 bytes but only 33 remain in the file; only the bytes that exist were read." and "Metadata parsing stopped at byte offset 31: frame size exceeds file length (frame TPE1 declares 2147483392 bytes)."

Meaning: The parser kept what it could read and told you where and why it stopped. A size that runs past the end of the file is a common sign of a hand-edited or damaged file; it is not evidence of what the file hides.

How it works

Identify

The first bytes decide the format: RIFF with WAVE (WAV), fLaC (FLAC), OggS (Ogg), an ID3 header or an MPEG frame sync (MP3). An ID3v2 tag followed by fLaC is FLAC.

Read the containers

ID3v2 and Ogg from the start, ID3v1 and APEv2 from the end, RIFF and FLAC block by block. Each field keeps the offset and length of its own structure.

Scan the strings

The worker reads the file in 4 MiB pieces and joins a run that crosses a piece edge, so a string is never cut in two. It keeps the first 200, every flag-shaped one, and counts the rest.

Report

Fields, notes and strings are shown as plain text. The JSON report holds the same fields, offsets and strings.

What the results mean

ResultWhat it meansWhat to do
Flag-shapedA tag value or string matches a flag pattern.Open its offset in the Hex Viewer and read the surrounding bytes. A pattern match is a lead, not proof.
No container metadata tags foundNone of the supported tag containers is present.Normal for a freshly generated file. The strings pass still ran: check it.
Metadata parsing stopped at byte offset NA size, identifier or version was invalid at that offset; earlier fields are shown.Open the offset in the Hex Viewer. A damaged or hand-edited tag looks like this; the cause is not told by the message.
Tag padding contains non-zero dataBytes after the last ID3 frame, inside the tag's declared size, are not all zero.Padding is normally zeros. Look at those bytes in the Hex Viewer; ordinary software can leave other bytes there too.
Attached picture / PICTUREAn embedded image frame, with its declared type and size.Save the picture and open it with an image tool, or look at the frame's bytes. The declared type can be wrong.
Private data (PRIV) / Application blockA frame or block with an owner and binary data.The tool shows the owner and the first bytes. Many programs write these; they are not unusual by themselves.
format not recognisedThe first bytes do not look like MP3, WAV, FLAC or Ogg.Check the file with the File Type Detector. The strings pass still ran.
Showing the first 200 of N stringsMore strings exist than the inline list holds.Open the full results in the Strings Analyzer for the complete list and filters.

Limitations

  • Only MP3, WAV, FLAC and Ogg (Vorbis and Opus) are read. MP4/M4A/AAC, WMA, AIFF and other formats are reported as not recognised, and the strings pass is all that runs on them.
  • The tool reads and shows. It cannot edit or remove a tag, and it does not decode steganography in the audio signal. A tag, or the lack of one, says nothing about whether data is hidden.
  • An ID3 frame that is marked compressed or encrypted is shown as binary data, not decoded. An ID3v2 tag marked unsynchronised is read after the unsynchronisation bytes are removed; the offsets shown are where each frame starts in the file.
  • Reads are bounded: 32 MiB of one tag body, 5,000 fields, 32 MiB of Ogg looked through for the comment header. Anything past a bound is not shown, and a note says so.
  • A tag value longer than 100,000 characters is shown cut at that length and the field says how long the full value is; the rest can be read in the Hex Viewer.
  • A Lyrics3v2 block between the audio and the ID3v1 trailer is skipped so the tags after it can be found; its contents are not decoded.
  • The strings pass is printable ASCII only, with a minimum length of 4. Text stored as UTF-16 or in another encoding is not listed there (tag values in those encodings are decoded in the tag table).
  • Ogg: only the first logical stream is read. A picture stored as base64 inside an Ogg comment is listed but cannot be saved.
  • A hand-off to the Hex Viewer or the Strings Analyzer passes the file through this browser's storage for up to 30 minutes, within the hand-off size the device allows. The Hex Viewer highlight covers at most 65,536 bytes of a range. Nothing is uploaded.
  • In our tests the parser was compared with mutagen on files written by ffmpeg and mutagen (MP3 with ID3v2.3 and 2.4, ID3v1 and APEv2, WAV with LIST/INFO and an 'id3 ' chunk, FLAC, Ogg Vorbis and Opus), on 37 real files from mutagen's own test data (some deliberately damaged, one with ID3v2.2), and on hand-doctored and randomly altered files. A FLAC file that an ID3v2 tag precedes was tested with one real file (an ID3v2.3 tag written by mutagen in front of an ffmpeg FLAC). Other less common combinations were checked in the source and with constructed files, not with real files from other programs, and tag writers and players that were not tested may write structures this tool reads differently.

Privacy

Your audio file is read and analysed locally in your browser, in a background worker. This tool does not send it to our servers, and neither its name, its tags nor its strings are passed to analytics: analytics events carry feature names and coarse categories only. If you open a range in another tool, the file is kept in your browser's IndexedDB for up to 30 minutes so that tool can read it; the Investigation Workspace stores only findings and hashes, never the file.

Frequently Asked Questions

Which tags does this audio metadata viewer read?

ID3v1, ID3v2.2, 2.3 and 2.4 and APEv2 on MP3; the LIST/INFO chunk and an 'id3 ' chunk on WAV; VORBIS_COMMENT, PICTURE and APPLICATION blocks on FLAC; the Vorbis or Opus comment header on Ogg. The table Tag Containers Read, by Format shows what each one lists.

How can I read an MP3 ID3 tag or comment online?

Add the MP3 above. The Tags & strings tab lists every ID3v1, ID3v2 and APEv2 field, comments included, with its value, offset and length. Nothing is installed, and the file stays in your browser.

How do I find a flag hidden in an MP3 tag?

Load the file. Flag-shaped tag values are marked and a banner appears; the strings pass also catches flag-shaped text outside the tags. Open the offset in the Hex Viewer to read the bytes around it. A pattern match is a lead, not proof: see Flag-Shaped Values and the worked examples.

Is checking metadata tags the same as steganography decoding?

No. Tags and strings sit in the file's normal structure; decoding is for data placed inside the audio signal itself, which tags and strings will not show. This tool does not decode; the Audio Steganography Extractor does for the methods it supports. The comparison table above sets the two side by side.

Does a tag, or the lack of one, mean the file hides something?

No. A normal MP3 ripped from a CD has tags for ordinary reasons, and a freshly generated WAV often has none. The page reports what is in the file and makes no claim about what that means.

What does 'Metadata parsing stopped at byte offset N' mean?

A size, an identifier or a version in the tag was invalid at that offset, for example a frame that declares more bytes than the file holds. The fields read before that point are shown and the offset can be opened in the Hex Viewer. The message says where and why the parser stopped; it does not say what caused the damage.

Can it save the cover art from an MP3 or FLAC?

Yes, in most cases: Save picture writes the picture's own bytes to your disk, up to 20 MB. Which pictures cannot be saved is explained under Embedded Pictures.

Why are the strings listed separately from the tags?

It reads the original bytes, so it finds readable text outside every tag, such as text after the audio. The rules and limits are under The Strings Pass; the Strings Analyzer has the full toolset.

Is my audio file uploaded?

No. The file is read in your browser and is not sent to our servers, and its name and contents are not passed to analytics. Opening a range in another tool keeps the file in your browser's storage for up to 30 minutes; the privacy note above gives the details.

Is there a size limit?

The limit is 100 MB, or 50 MB on phones and on devices that report little memory or few processor cores. A read that takes longer than 60 seconds is stopped. A file over the limit is refused before anything is read.