From Hydrogenaudio Knowledgebase
Jump to: navigation, search
A secure ripper featuring AccurateRip for Mac OS/X
Developer(s) tmkk
Release information
Initial release {{{released}}}
Stable release 20210101
Preview release
Operating system Mac OS X
Additional information
Use Digital Audio Extraction
License GPL
Website XLD website


X Lossless Decoder (XLD) is a secure CD ripper and a tool for Mac OS X that is able to decode/convert/play most lossless and lossy audio files. The supported audio files can be encoded/decoded and split into tracks with cue sheet. It works on Mac OS X 10.3 and later.

XLD is Universal Binary, so it runs natively on both Intel Macs and PPC Macs.


XLD supports the following formats:

  • (Ogg) FLAC (.flac/.ogg)
  • Monkey's Audio (.ape)
  • Wavpack (.wv)
  • TTA (.tta)
  • Apple Lossless (.m4a) [10.4 and later]
  • AIFF, WAV, etc
  • LAME MP3, QuickTime AAC, HE-AAC, and Opus.
  • DDP image import
  • CUE Sheet generation
  • AccurateRip technology

Other formats supported by Libsndfile are also decodable. XLD does not use the decoder frontend but the library instead to decode, so no intermediate files are generated. All of the supported formats can be directly split with the cue sheet. XLD also supports so-called 'embedded' or 'internal' cue sheet.

Currently you can choose output format from WAVE,AIFF and Raw PCM. In addition, you can choose Ogg Vorbis (aoTuV), MPEG-4 AAC (QuickTime/CoreAudio), MP3 (LAME), Apple Lossless, FLAC, HE-AAC (aacPlus v1/v2), Wave64 and WavPackin the GUI version.

XLD version 20080812 and later can be used as a CD ripper. You can convert each track in your audio CD into the desired format. Also XLD supports output to a CD image with cue sheet (wav+cue, flac+cue, etc).

Correction mechanism

XLD (X Lossless Decoder) uses the cdparanoia 10.2 libraries ripping and error correcting. XLD can also be used on drives that don't have Accurate Stream and utilize C2 error pointers (see Secure ripping). Additionally the AccurateRip database is used for matching checksums between numerous CD rips.

Known bugs

  • Known bugs for the latest release of the software are listed under "Version history" on the main page of the XLD website and can be posted under this HA thread.

Development API

The source code of XLD is included in the StuffIT light expander archive. The library and header of Libsndfile, FLAC, Wavpack, Monkey's audio and Libcddb is required to compile it.

  • libparanoia
  • libsndfile
  • libflac
  • libwavpack
  • libape
  • libcddb


The frontend and backend of XLD are separated. The frontend is able to access the various decoders with the same interface. In the future various plug-in interfaces will be provided, so that you can easily develop plug-ins for new formats. If you are interested in doing this, please see XLDDecoder.h in the source files.

Source code

The source code is included in the archive below and is released under the GPL. Due to the rapid progression of development on XLD it best you consult the source-code on thedevelopers website for the latest builds, which may include new features and binaries that are not listed on this wiki page.


  • XLD Configuration - An unofficial guide to configuration and settings (work in progress).

External links