Audio and video · Independent · 22 Oct 2026

Borewit/music-metadata

Metadata parser for audio and video media files. Supports file and stream inputs in Node.js and browser environments, extracting format, tag, and duration information.

← Audio and video
music-metadata: media tag reader. Extracts format details and tags from audio files.

In simple English

This library reads the hidden information inside music and video files. It tells you the artist name, album title, track length, and picture art. You can use it to build a music player or organize your local audio collection. It runs in server code and in web browsers without needing extra tools. It costs nothing to use and requires no paid services.

What it is

A TypeScript library for parsing media metadata from files, streams, buffers, and web blobs. It extracts format details, tags, and track information across many popular audio and video formats.

What it is good for

Building web applications, music players, or server scripts that need to read tags from uploaded or local audio files. It removes the need to write custom binary parsers for complex audio containers.

Stars1.3k
LicenceMIT
Latestv12.2.3 (2026-10-18)checked 22 Oct 2026
Last code change2026-10-21
Written inTypeScript
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Supports a large variety of audio formats and tag standards.
  • Works across both Node.js and modern web browsers.
  • Provides a clean, promise-based API for easy async work.
Watch for
  • Requires Node.js version 22 or newer to run on the server.
  • Large media files with embedded artwork can consume significant memory.
  • Asynchronous parsing errors require careful type narrowing in TypeScript.
Replaces

Writing custom binary file parsers or heavy command-line wrapper tools for audio tags

Works well with

Express

Similar repositories
  • Borewit/strtok351 stars

    Low-level stream tokenizer library used internally by music-metadata for reading binary data sources.

  • aadsm/jsmediatags797 stars

    Another JavaScript library for reading audio tags, though with a narrower focus on ID3 formats.

Also reviewed on Repo Radar
  • snapcast/snapcast8.0k stars

    A server and clients that play one audio stream in several rooms, kept in time with each other.

  • MusicPlayerDaemon/MPD2.8k stars

    A background music player with no interface of its own, controlled over a network by separate client programs.

  • AcademySoftwareFoundation/OpenTimelineIO2.0k stars

    An interchange format and library for editing timelines: the order and length of cuts, and references to the media, but not the media.

Install
npm install music-metadata

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Design & Creative › Audio & Voice Production › Audio Libraries.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.