audacity-project-formats

Audacity project files: field notes on .aup3 and .aup4

Notes collected while implementing a reader, converter, recovery and downgrade tool for Audacity project files (for Waveward, a browser-based tool — disclosure: I build it). Every statement below was checked against the Audacity source of the version named, or against Audacity’s own release notes and tools; the links are at the end. Corrections welcome — open an issue.

The one-line version

  .aup3 .aup4
Written by Audacity 3.0 – 3.7 Audacity 4.0 and newer
Opens in Audacity 3 and 4 (4 converts it to .aup4 on open, one way) Audacity 4 only — 3.7 refuses it
Container SQLite 3 database SQLite 3 database, same design
user_version (SQLite header) the Audacity 3 build that saved it, e.g. 3.7.9 the Audacity 4 build, e.g. 4.0.0
Document version attribute 1.3.0 — unchanged since the .aup era 2.0.0
Tables project, autosave, sampleblocks the same, plus project_history (the last ten saves — kept, never restored from)
Audio immutable sample blocks: int16, int24-in-4-bytes, or float32 identical bytes
Clip fields offset, trims, envelope; stretch ratio and pitch shift since 3.4 adds groupId, clipTempo, clipStretchToMatchTempo, isSelected
Colour a palette index (colorindex) on the track a palette index on every clip too
Unsaved working copy .aup3unsaved .aup4unsaved

It is a SQLite database, and that decides everything

Why Audacity 3.7 refuses an .aup4 — two gates, not one

  1. Gate 1, the SQLite header. Audacity compares user_version with its own version and refuses anything newer: “This project was created with a newer version of Audacity”.
  2. Gate 2, inside the document. The root project element carries a file-format version attribute, separate from the application version. Audacity 3.7 writes and accepts 1.3.0 (AUDACITY_FILE_FORMAT_VERSION); Audacity 4 writes 2.0.0. A higher value stops the load before any track is read: “You may need to upgrade to a newer version to open this file”.

Everything else is the same design in both versions. That is what makes a downgrade possible: rewrite the two stamps (user_version → 3.7.9, version 2.0.0 → 1.3.0, and the audacityversion attribute beside it), drop the four clip fields Audacity 3 has never seen, and copy the sample blocks byte for byte. Verified on clips4.aup4 from Audacity’s own test data: Audacity 3.7.9.0 opened the downgraded copy (six file handles including the WAL and SHM, an entry in the recent-files list) and rejected the untouched original.

Audacity itself offers no way back: 4.0 converts .aup3 to .aup4 on open and “converted projects cannot be saved back to .aup3” (release notes); an Audacity contributor’s tracker issue from May 2025 states that backwards compatibility from 4 to 3 is not planned. Audacity 4.0.1 (30 September 2026) changed neither gate: AUDACITY_FILE_FORMAT_VERSION is still 2.0.0, and its release notes add no save or export to .aup3.

A note on the stamp’s history, as reported by an Audacity team member on the official forum (May 2026): before 3.6.1 the project version was set according to which features a project used; from 3.6.1 it is simply the running Audacity version. So Audacity is strictly backwards-compatible (newer reads older) and no longer forwards-compatible.

What is not in Audacity 4.0

From the 4.0.0 release notes: Time Tracks, Note/MIDI tracks, the Mixer, the Macro Manager and the scripting pipe, VAMP and LADSPA plugin hosting, and Play-at-speed. A project that depends on any of these is a reason to keep a 3.7 install — and to keep the .aup3.

Audacity 4.0.1 lists Export multiple — each track, or each labelled region, to its own file — among its new features; its release notes bring back none of the features listed above.

When a project will not open but is not damaged

When a project breaks

Hands-on

Sources

Further reading

Longer write-ups of the above, kept current, on the Waveward site:


Licensed CC BY 4.0 — reuse freely with attribution. “Audacity” is a trademark of Muse Group; this is an independent set of notes, not affiliated with or endorsed by the Audacity project.