What is an .aup3-wal or .aup4-wal file?
A file ending in .aup3-wal or .aup4-wal is not a recording and not a project. It is the log where Audacity's database keeps your newest edits until they are copied into the project file. Drop the project and its -wal here together and you hear and export the project with those edits applied.
Several projects? Drop or choose them together: export them all to one ZIP at once (Pro), or open them one by one free.
What is an .aup3-wal file, and can it be converted to MP3?
An .aup3-wal (or .aup4-wal) file is SQLite's write-ahead log for an Audacity project: Audacity commits every edit to it first and copies the changes into the .aup3 or .aup4 later, the last time when the project closes. It cannot be converted on its own, because it holds only the database pages that changed, not the whole project. Drop it together with the project of the same name on this page: the log's committed changes are applied in memory, the way SQLite applies them when Audacity next opens the project, and the result plays and exports as MP3 or WAV. Nothing is uploaded and neither file is changed.
Select the project and the -wal of the same name together (song.aup3 and song.aup3-wal), or drop the folder that holds both.
The page says how many committed changes the log held and applies them; neither file is modified.
Play the mix and export it as MP3 or WAV.
A -wal dropped without its project is identified, and the page names the file to bring.
AUP3-WAL & AUP4-WAL Files — without uploading your audio
You normally never see this file, because Audacity removes it when a project closes cleanly. It stays on disk when Audacity is still running, crashed, was force-quit, or the computer lost power, and that is exactly when it matters: the project file alone is then an older state of your work. The same goes for copies.
A project copied or sent while Audacity had it open travels without its newest edits unless the -wal goes with it. This page explains what the log holds, what the -shm file beside it is, and what can and cannot be got out of each.
Inside the log, frame by frame
A write-ahead log starts with a 32-byte header: a magic number (0x377f0682 or 0x377f0683, the last bit choosing the byte order of the checksums), the format version 3007000, the database page size, a checkpoint counter, two salts, and a checksum of the first 24 bytes. After it come frames. Each frame is a 24-byte header followed by one database page; the header gives the page's number, the size of the database in pages if the frame ends a transaction and zero otherwise, the two salts again, and a running checksum.
A frame counts only if its salts equal the header's and its checksum continues the chain from the header through every frame before it. The first frame that fails ends the log, which is how a write cut short by a crash, or frames left over from before the log was restarted, are told from live content. Frames after the last commit frame belong to a transaction that never finished and are ignored. That is SQLite's own rule and this page follows it: each page is served from its newest committed copy in the log, and from the project file when the log has none.
Audacity makes the log matter more than it does in most SQLite applications. It opens each project in WAL mode with automatic checkpointing switched off and runs checkpoints from its own thread, with a truncating checkpoint when the project closes. Between those moments your latest edits exist only in the log.
A project too large to read into memory is handled the same way: the pages the log holds come from the log and the rest are read from the project file as they are needed, so nothing is copied up front.
- What it is
- SQLite's write-ahead log for an Audacity project
- File name
- The project's full name plus -wal: song.aup3-wal, song.aup4-wal
- Header
- 32 bytes: magic 0x377f0682 or 0x377f0683, format 3007000, page size, salts, checksum
- Frame
- A 24-byte header and one page — 65,560 bytes at Audacity's 64 KiB page size
- Holds
- Pages changed since the log was last reset, not the whole project
- Empty (0 bytes)
- Created when a project is opened; nothing is waiting in it
- -shm
- The log's index; no database content; kept on disk by Audacity only on Windows
- Removed by
- A normal close in Audacity, which merges it into the project
- Opened here
- Together with its project; committed changes applied in memory, both files unchanged
New to the format? What an .aup4 file is, table by table — and how it differs from .aup3.
Sources
Where the facts on this page were checked. Audacity's code is cited at the tagged release it was read from.
- SQLite WAL-mode file format — The 32-byte WAL header and 24-byte frame header, the salt and cumulative-checksum test for a valid frame, commit frames, and the statement that the shm file "does not contain any database content".
- SQLite: Write-Ahead Logging — Checkpointing, the WAL being part of the database's persistent state that must stay with it, and the log and its shared-memory file being removed when the last connection closes.
- DBConnection.cpp, Audacity 3.7.9 — page_size 65536, journal_mode WAL and wal_autocheckpoint 0 on the project connection, Audacity's own checkpoint thread, and the truncating checkpoint on close.
Questions about the format
Q. Can I delete the -wal file?
Not while it has anything in it. Audacity switches SQLite's automatic checkpointing off and copies the log into the project on its own schedule, so the -wal can hold edits the project file does not have yet, and deleting it discards them. A -wal of 0 bytes is different: SQLite creates the file empty as soon as a project is opened and empties it again after a truncating checkpoint, so an empty one holds nothing. The safe way to make the file go away is to open the project in Audacity and close it normally, which merges the log into the project and removes it.
Q. What is the .aup3-shm file?
The index of the log: a shared-memory file SQLite uses to find pages inside the -wal. SQLite's documentation says it "does not contain any database content", so there is nothing in it to play, convert or recover. Audacity keeps it on disk only on Windows. This page does not need it; when one is dropped it is identified, and the page asks for the project.
Q. I only have the -wal and the project file is gone. Is the recording in it?
Parts of it may be, but not in a form this page can open. The log holds whole database pages that changed since it was last reset, and those can include audio. What it does not hold is the rest of the database those pages belong to, so there is no project document to say where the audio goes. Look for the project first: the .aup3 or .aup4 of the same name, in the same folder, in the recycle bin or in a backup. If it is truly gone, keep the -wal untouched. This page does not try to rebuild audio from a log on its own.
Q. The page says the log held no finished change, or could not be used. What does that mean?
There are four outcomes, and the page states which one happened. Applied: the log held committed changes and they were laid over the project. No finished change: the log has no completed transaction, so there is nothing Audacity would add on opening and the project is shown as it is. Not usable: the file is not a write-ahead log, its header is damaged, or its page size is not the project's, which means it belongs to another database. Set aside: with the log's changes applied the project would not open, which is what a log left beside a different copy of the project does, so the project is shown as last saved.
Q. Why is the -wal so large?
Because it stores whole pages. Audacity sets the project database's page size to 64 KiB, so every page an edit touches is written to the log as one frame of 65,560 bytes: a 24-byte frame header and the 65,536-byte page. A page changed twice is stored twice. Audacity's routine checkpoints copy frames into the project without shrinking the file; only the truncating checkpoint on close empties it. A -wal can therefore be large even when most of what it holds is already in the project.
Free to open, play and export the stereo mix for projects up to 256 MB; larger projects still open and play free and export the first minute as a free preview, and downgrading to .aup3 is free up to the same size. Recovery, per-track stems, and exports or downgrades above that size are a one-time $9.90 license — no subscription, no recurring fees.
Every job an Audacity project needs
Same local-first engine, one page per task.