Community

Getting MIDI files

Archives and datasets of MIDI files, with what their licenses actually allow. Open any file in the MIDI Reader to see what's inside.

Copyright: the short version

  • The composition and the MIDI file are separate works. A file of a public-domain piece can still be copyrighted by whoever sequenced it. Look for an explicit license on the file itself.
  • MIDI arrangements of copyrighted songs are not free, even when a site offers them for free download: the song is still protected. Most pop, film and game music falls in this category, including much of what's in large web-scraped collections.
  • Datasets have their own licenses. Several popular ones are non-commercial (NC) or gated, and a permissive dataset license doesn't clear the rights in songs it contains.
  • Site terms apply too. Some sites forbid redistribution, bulk downloading, or use for AI training.

This is general information, not legal advice. When in doubt, ask the rights holder.

Public-domain & free archives

6

Collections with a clear license for every file. The safest place to start.

Datasets

27

Large collections built for research and machine learning. Read the license and the paper before training on or redistributing them.

Other sources

7

Popular sites whose files are free to download but not openly licensed. Fine for personal study; check the terms before anything else.

Working with the files

Parse and clean files with SMF libraries such as mido, pretty_midi or symusic; for machine learning, see the ML and dataset tooling sections of the catalog. The Standard MIDI Files chapter explains the format byte by byte.