Home

taglib

TagLib is an open-source, cross-platform C++ library for reading and editing metadata in audio and other media files. The library provides a uniform API to access common tag types and artwork across several formats, enabling applications to read, modify, or write metadata without dealing with the specifics of each format.

Supported formats include ID3 (v1 and v2) in MP3 files; MP4/M4A (iTunes-style tags); FLAC and Vorbis (including

When integrated into software, TagLib is used by media players, organizers, tag editors, and conversion tools

TagLib is released under the GNU Lesser General Public License (LGPL) version 2.1 or later, and runs

Typical usage involves creating a File object for a path, retrieving its Tag interface, reading or setting

Development and documentation are available via the project's website and source repositories.

Ogg
Vorbis
and
Ogg
FLAC);
WMA/ASF;
WAV
and
AIFF;
and
APE.
TagLib
exposes
tag
data
such
as
title,
artist,
album,
track
number,
year,
genre,
comments,
lyrics,
as
well
as
embedded
pictures.
to
ensure
consistent
metadata
handling
across
formats.
The
library
is
designed
for
C++
projects
but
has
bindings
and
wrappers
in
other
languages
through
third-party
projects.
on
major
platforms
including
Windows,
macOS,
and
Linux.
fields,
and
saving
changes
back
to
disk.