Rule 1: Always Include the Date — in yyyyMMdd Format
A date prefix is the single most valuable addition to a business file name. It answers the most common question people have about a file — when is it from? — without opening the file or checking metadata.
Use yyyyMMdd: 20260307 for March 7, 2026. Not 03/07/2026 and not 07-03-26. Any date written year first, then month, then day, with zero-padded numbers, sorts chronologically when files are sorted alphabetically by name. Both yyyyMMdd (20260307) and yyyy-MM-dd (2026-03-07) do this; formats that start with the month or the day, such as 03/07/2026 or 07-03-26, do not. We recommend yyyyMMdd because it is short and has no separator characters, while yyyy-MM-dd is easier to read. What matters most is choosing one format and using it everywhere. The sorting works in Windows File Explorer, SharePoint, OneDrive, Dropbox, and any system that lists files by name.
Public records guidance points the same way. The University of Edinburgh's naming conventions say to state dates "back to front" (YYYYMMDD), and the North Carolina State Archives recommends basing file name dates on ISO 8601 and lists YYYY_MM_DD or YYYYMMDD as its notation. Note that ISO 8601 itself writes the extended form with hyphens (YYYY-MM-DD) and the basic form with no separators (YYYYMMDD); the underscore version is that archive's file-naming notation, not an ISO 8601 notation. These are good-practice recommendations, not legal requirements. Record-keeping rules are a separate matter: GOV.UK's company records guidance covers how long records must be kept, not how files are named.
The recommended position for the date is at the start of the file name. Files then sort by date automatically when sorted by name; sort in descending order to see the most recent files first.
Rule 2: No Spaces — Use Underscores
Windows supports spaces in file names, but spaces cause problems everywhere else:
- Command Prompt and PowerShell require quoted paths for files with spaces
- URLs encode spaces as %20, making shared links harder to read and copy
- Some older enterprise software and databases reject file names with spaces
- Batch processing scripts become fragile when file names contain spaces
Replace spaces with underscores. The result is just as readable to humans and works in every technical context.
Rule 3: Avoid Special Characters
Windows explicitly forbids: / \ : * ? " < > |
Beyond Windows' own restrictions, also avoid these characters in file names intended for business use:
- # — used as a URL fragment identifier; causes link-breaking in shared drives
- % — URL encoding marker; triggers misinterpretation in web-based file systems
- & — reserved in HTML and URLs
- { } — used in template and scripting contexts
- @ — problematic in some FTP and cloud storage systems
Safe characters for all contexts: letters (a–z, A–Z), numbers (0–9), underscores (_), hyphens (-), and periods (.) — where periods are only used before file extensions.
Rule 4: Keep Names Short but Descriptive
Aim for 30–50 meaningful characters, not counting the date prefix. Long file names get truncated in File Explorer column view, in email clients, and in some archive tools.
A useful test: can you understand what the file contains from the name alone, without opening it? If yes, the name is long enough. If the name is more than 60 characters, it is probably too long.
Rule 5: Version Numbers for Drafts
Add a version suffix for documents that go through multiple revisions. Use v1, v2, or draft / final — never "FinalFinal", "Final2", or "REAL_final".
When the document is finalized, the _final suffix makes it unambiguous which version to use. Archive or delete the draft versions, or move them to an "Archive" subfolder.
Putting It Together: A File Name Template
Combining all five rules gives a consistent structure for any business file:
Examples in practice:
The date drives the sort order. The document type identifies the content. The context adds specificity. The version tracks revisions. Everything is human-readable, machine-sortable, and safe in any technical system.
The Hardest Rule to Enforce: The Date Format
Rules 2 through 5 are easy to follow once decided. The date format is the rule that breaks down under pressure. People type what comes naturally — the format they grew up with, the one their phone shows, or yesterday's date typed without checking the calendar.
The reliable solution is to make the correct date format automatic. InsertDate remaps the Insert key on Windows to type today's date in yyyyMMdd format at the cursor position in most Windows text fields, such as File Explorer's rename field, Save As file name boxes, and Excel, Word or Outlook. No format to remember. No digits to mistype. InsertDate only types the date; you still write the rest of the file name. Apps running as administrator need InsertDate to run as administrator too. You can try it from the Microsoft Store with a 7-day free trial.
See also: How to rename files with today's date in Windows · Why yyyyMMdd is the right format for file names · Enforcing date format consistency across a team
Frequently Asked Questions
Should I use spaces or underscores in Windows file names?
Underscores are safer. While Windows supports spaces in file names, spaces cause problems in command-line tools, shell scripts, URLs, and some older software. Underscores work in every context. Hyphens are also acceptable. Avoid spaces whenever possible in business file names.
What characters should I avoid in Windows file names?
Windows reserves these characters and will not allow them: / \ : * ? " < > |. Also avoid # % & { } @ as they cause problems in URLs, scripts, and some software. Safe characters are: letters, numbers, underscores (_), hyphens (-), and periods (.) used only before file extensions.
What is the best date format for Windows file names?
yyyyMMdd (e.g. 20260307) is a reliable choice for file name dates. Dates written year first, then month, then day, with zero-padded numbers — yyyyMMdd or yyyy-MM-dd — sort chronologically when files are sorted by name in File Explorer, with no configuration needed. yyyyMMdd is shorter and has no separator characters; yyyy-MM-dd is easier to read. Either works as long as everyone uses the same one. Both are internationally unambiguous, unlike MM/DD or DD/MM formats.
Related: What is the yyyyMMdd format?
Try InsertDate Free for 7 Days
One key press types today's date in yyyyMMdd format, so the date part of your file naming standard is entered the same way every time. Works in most Windows apps, including File Explorer's rename field and Save As file name boxes. Apps running as administrator need InsertDate to run as administrator too.
InsertDate is a Windows 10/11 app. Reading on a phone? Open this page on your PC to install it.