Library Organizer

Free Windows tool · For Audiobookshelf & Calibre

Point it at the mess.
Get back a library.

Library Organizer scans your audiobook and ebook folders, works out the real authors, series, and titles, and copies everything into a clean Author / Series / Title structure that Audiobookshelf and Calibre import on the first try. Your original files are never touched — and it runs two ways: a simple Windows app, or a Docker container that lives on your NAS right next to the files.

Get it — Windows or Docker See how it works

One Python file. Runs entirely on your own PC — nothing uploaded, no account, no cost.

Before — the folder you don’t open anymore

Downloads\
├─ THE MARTIAN by andy weir.m4b
├─ sanderson_mistborn1_final empire\
│    01.mp3 … 47.mp3
├─ notw (1).epub
└─ New folder (3)\
     wise mans fear book2.m4b

After — ready to import

Library\
├─ Andy Weir\The Martian\
├─ Brandon Sanderson\Mistborn\
│    01 - The Final Empire\
├─ Patrick Rothfuss\Kingkiller Chronicle\
│    01 - The Name of the Wind\
└─   02 - The Wise Man's Fear\

How it works

Scan. Review. Copy. That’s the whole job.

It’s deliberately not another library manager. It does one thing — build a perfect folder structure — then gets out of the way and hands your collection to the tools you already use.

STEP 1

Scan

Pick your messy source folder. Every audiobook and ebook is detected — multi-part MP3 books are grouped as one title, covers and .nfo files tag along, and each book appears as a row with its proposed author, series, and title.

STEP 2

Review

Anything uncertain is highlighted so nothing slips through. Double-click a row to fix it — a live preview shows exactly where the book will land. One click runs an online lookup to polish spelling and naming.

STEP 3

Copy

Approve the plan and it copies — never moves — everything into the clean structure. Already-copied books are skipped, so you can fix a few rows and safely run it again.

See it in action

Every book on one screen, nothing hidden

The whole plan lives in one table. Green rows are done, orange rows need a human eye, and nothing is copied until you say so.

Audiobook & Ebook Library Organizer — ▢ ✕ Source folder: D:\Downloads\Audiobooks Browse… Destination: E:\CleanLibrary Browse… 1. Scan Lookup Selected Online Edit Selected 2. Copy Into New Structure Type Author Series # Title Meta From Status audioBrandon SandersonMistborn01The Final Empiretagscopied audioAndy WeirThe Martianfilenamecopied ebookPatrick RothfussKingkiller Chronicle01The Name of the Windtagsready audiowise mans fear book2filenameneeds review ebookUrsula K. Le GuinEarthsea01A Wizard of Earthseafoldersready audioFrank HerbertDune01DuneGoogle Booksready Scanning D:\Downloads\Audiobooks … Scan complete: 214 book(s) found. Review the table, edit anything orange, then press ‘Copy Into New Structure’. Lookup OK (Google Books): Frank Herbert – Dune Copied: Brandon Sanderson\Mistborn\01 – The Final Empire Copied: Andy Weir\The Martian 137 / 214 books copied
The review table after a scan: green rows are safely copied, orange rows want a quick look, and the log narrates everything the tool does.
Edit book Author Patrick Rothfuss Series (blank = standalone) Kingkiller Chronicle Series # 2 Title The Wise Man’s Fear Will go to: <Destination>\Patrick Rothfuss\Kingkiller Chronicle\02 – The Wise Man’s Fear Save
Double-click any row to correct it — the preview updates live so you can see exactly which folder the book will land in before anything happens.

The clever part

It reads every clue your files already carry

Four sources of truth, checked in order of reliability. Each one fills in whatever the last one couldn’t, and the table always shows you which source it trusted.

Embedded metadata

Audio tags in MP3/M4B files (including the SERIES and MVNM tags Audiobookshelf loves), series info inside EPUBs, and the hidden metadata in MOBI/AZW3 files.

Folder hierarchy

If part of your library is already shaped like Author\Series\Book, those folder levels are read as evidence — while junk folders like “Unsorted” or “New folder (3)” are recognized and ignored.

Smart filename parsing

Patterns like Author – Series 01 – Title or Title by Author are decoded, ALL-CAPS names are fixed, and “Sanderson, Brandon” becomes “Brandon Sanderson”. It even catches reversed Title – Author names.

Online lookup

Optionally checks Google Books and Open Library to confirm and polish titles and authors — and it only accepts a match when it’s confident, so lookups improve your names instead of scrambling them.

Built for the hand-off

A perfect head start for Audiobookshelf and Calibre

Audiobookshelf

The output uses Audiobookshelf’s recommended layout — Author\Series\01 – Title\ — so series order, authors, and multi-part books are recognized instantly. Point a library at the folder and watch it fill in correctly, with no per-book fixing afterward.

Calibre

Because every book sits in its own clearly named folder with the author one level up, Calibre’s bulk import gets clean titles and authors from the start — instead of hundreds of “Unknown” entries you’d be fixing for weeks.

Two editions, one engine

Run it on your PC — or right on your NAS

Both editions share the exact same organizing engine and produce the exact same folder structure. The only difference is where the work happens.

🖥️ Windows edition

A single file you double-click. Classic desktop app with a review table, edit dialogs, and a live folder preview. Perfect when your books live on your PC or an attached drive, or you just want the simplest possible start.

  • Needs only Python and one pip install
  • No server, no browser — just a window
  • Great for libraries up to a few thousand books

🐳 Docker / NAS edition

The same engine wrapped in a small web app. It runs as a container on your NAS and you drive it from any browser at http://nas-ip:8765. Because the copying happens disk-to-disk on the NAS itself, even a huge library reorganizes at full drive speed — nothing crosses the network.

  • Source library mounted read-only — Docker itself makes touching your originals impossible
  • Edit any author, series, or title directly in the table — click, type, done
  • Search and “needs review” filters with pagination, built for libraries with tens of thousands of books
http://192.168.1.20:8765 Library Organizer SCAN · REVIEW · COPY — RUNNING ON YOUR NAS Source /source Destination /dest 1. Scan 2. Copy Into New Structure Filter by author / series / title… Show: needs review ▾ 104,318 books · 2,491 review · 87,655 copied TypeAuthorSeries#TitleWill be filed underStatus audioBrandon SandersonMistborn01The Final EmpireBrandon Sanderson/Mistborn/01 – …copied audiowise mans fear book2needs review ebookPatrick Rothfuss|Kingkiller Chronicle02The Wise Man’s FearPatrick Rothfuss/Kingkiller Chron…ready audioFrank HerbertDune01DuneFrank Herbert/Dune/01 – Duneready ebookUrsula K. Le GuinEarthsea01A Wizard of EarthseaUrsula K. Le Guin/Earthsea/01 – …copied Scanning /source … … 104,300 books found so far Scan complete: 104,318 book(s) found. Review anything orange, then Copy. Copied: Brandon Sanderson/Mistborn/01 – The Final Empire Copied: Ursula K. Le Guin/Earthsea/01 – A Wizard of Earthsea Finished: 87,655/104,318 book(s) copied to /dest
The Docker edition in a browser: same review workflow, plus in-place cell editing and filters that keep even a 100,000-book library responsive. The copying happens on the NAS itself, at full drive speed.

Get it running

Download & setup

Both editions are free, open, and run entirely on your own hardware — no installer, no account, nothing phoning home.

Windows edition

1. Install Python from python.org — tick “Add Python to PATH”
2. Command Prompt: pip install mutagen
3. Download the file below and double-click it
Download AudiobookOrganizer.pyw

Docker / NAS edition

1. Unzip to your NAS, e.g. /volume1/Docker/library-organizer
2. Edit docker-compose.yml — point the two volume lines at
your messy library (/source, kept read-only) and output (/dest)
3. docker compose up -d –build
4. Open http://your-nas-ip:8765
Download library-organizer-docker.zip

Good to know: both editions copy rather than move, so you’ll need enough free disk space for a second copy of your library — that’s the price of your originals staying completely safe. The Docker edition has no login, so keep it on your home network only. Questions? Get in touch.