Skip to main content

We’d like to load Google’s advertising tag to measure how our ads perform. It sets cookies and is optional. Privacy policy.

Mudry
Guides

File naming convention: rules that keep files findable

A practical file naming convention for Windows: date first, plain words, version numbers that sort, and the characters and names Windows will not accept.

Roman Modrytskyi4 min read

Written by the team building Quick File Organizer, folders that organize themselves, by your rules.


A file naming convention is a small agreement with yourself: every file name answers the same questions in the same order. Done well, it makes search almost unnecessary, because sorting a folder by name already puts everything in a useful order.

Here is a convention that works in File Explorer, survives being emailed, and takes about a minute to learn.

The pattern

date  subject  detail  version
2026-11-03 acme contract signed v02.pdf

Not every file needs all four parts. A holiday photo needs none of them. The pattern is for files you will look for again: contracts, invoices, reports, scans, exports.

Rule 1: write dates as year-month-day

2026-11-03 sorts correctly by name. 03-11-2026 and Nov 3 do not: sorted alphabetically, every 3rd of the month ends up together, across all years. Year first also removes the day-or-month argument between US and European formats.

Put the date at the front when you think of the file by when it happened (statements, meeting notes, scans). Put the subject first when you think of it by name (acme contract 2026-11-03.pdf). Pick one per folder and stay with it.

Rule 2: describe it for a stranger

scan0042.pdf and document (3).docx mean nothing a month later. Write the name for someone who has never seen the file:

Instead ofWrite
scan0042.pdf2026-10-28 electricity bill.pdf
presentation final.pptxq4 sales review v03.pptx
IMG_2291.jpg2026-08 passport photo.jpg
invoice.pdf2026-11 invoice 1047 acme.pdf

Go from general to specific, so related files sit next to each other: acme contract, acme invoice, acme proposal.

Rule 3: number versions, never call one final

final, final2 and final-really are how people send the wrong attachment. Use v01, v02, v03. The leading zero matters: without it, v10 sorts before v2. When a document is approved, add a word after the number — v04 signed — rather than renaming the whole thing.

Characters and names Windows rejects

Windows will refuse these characters in any file name:

\ / : * ? " < > |

A few more things cause quiet trouble:

  • Reserved names. CON, PRN, AUX, NUL, COM1–COM9 and LPT1–LPT9 cannot be used as a file name, with or without an extension.
  • A trailing dot or space. Explorer strips it, and other tools may then fail to open or delete the file.
  • Very long names. The full path — folders plus name — is limited to 260 characters by default. Long names inside deep folders hit that limit first; see file path too long.

Spaces are fine on Windows. If files are going to a web server or a script, hyphens are safer. Either way, choose one separator and keep it.

Applying a file naming convention to old files

Do not rename ten years of files in one sitting. Apply the convention to new files from today, and fix old ones in batches when you touch them. Explorer can rename a whole selection at once (select the files, press F2), and PowerToys PowerRename handles patterns and search-and-replace. Our guide to batch renaming files walks through both.

A naming convention and a folder structure share the work between them. The more a name says, the fewer folders you need.

Common questions

Should I use spaces, hyphens or underscores?

Any of them works on Windows. Hyphens and spaces are easier to read, and Windows Search treats both as word breaks. Underscores join words together for some search tools, so acme_contract may not match a search for "contract".

Is a file naming convention worth it for personal files?

For the files you look for again — tax documents, receipts, scans, contracts — yes. For photos and downloads you will never open twice, a dated folder is enough.

Does capitalization matter?

Not to Windows, which treats Report.pdf and report.pdf as the same file. It can matter if files are shared with Linux or web servers, so all-lowercase is the safest habit.

Was this useful?

Quick File Organizer

Folders that organize themselves, by your rules. Free, no account.

See Quick File Organizer

Keep reading

  • Guides

    How to declutter your computer in one afternoon

    A seven-step checklist to declutter your computer on Windows: Downloads, Desktop, big files, unused apps and startup — and how to keep it tidy afterwards.

    5 min read

  • Guides

    How to organize PDF files on Windows

    How to organize PDF files on Windows so you can find any of them in seconds: where they should live, how to name them, and how to make scans searchable.

    4 min read

  • Guides

    A folder structure for Windows that actually lasts

    A simple folder structure for personal and work files on Windows: five top-level folders, three levels deep, and the habits that stop it falling apart.

    4 min read

Know when the next app ships

1 more Windows utility is in development. One short email when each one is ready — nothing else.

Product releases only — roughly once a month. Unsubscribe any time.