All articles

File naming conventions for SharePoint and OneDrive

A file naming rule that survives email

If your folders are full of files called Budget_v3_FINAL_final, you're in very good company. Here's a simple naming rule that still makes sense when a file leaves SharePoint, and the built-in feature that retires version numbers for good.

Have you ever opened a shared folder and found Budget_v3_FINAL.xlsx sitting right next to Budget_v3_FINAL_final (2).xlsx, and had to decide which one to trust? Maybe you opened both, compared a few numbers, and picked the one with the later date, hoping for the best. Maybe you emailed three people to ask.

If you’ve played that guessing game, pull up a chair. This summer I worked with a company that has people on both sides of the Atlantic, and when we asked the team for feedback on their files, every single response mentioned naming or versions. Two of the team leads ranked it their number one frustration. A short rule fixes most of it, and the tool that handles the rest is probably already built into your library!

Why does a file name matter so much?

Think of a SharePoint library as a well-organized pantry. Jars sit on labeled shelves, so a jar that just says “flour” makes perfect sense on the shelf marked Baking. In SharePoint, those shelves are your folders and the columns your team fills in (people call those columns metadata, which simply means information about the file).

Now take that jar to a potluck. The shelf stays home. The only thing that travels with the jar is the label on its lid.

Files go to potlucks all the time. You attach one to an email, download it to send to an outside accountant, or drop it into a vendor’s portal, and every bit of context from the library stays behind. One team lead I worked with described the moment perfectly. You finally track down the file someone sent you, and it’s called “Form 3 - June 2026.” Form 3 of what? Whose form? Nobody could tell from the label alone.

What goes on the label?

The rule I’d suggest has just two required parts and one optional one:

Function - Plain title
Function - Plain title - YYYY-MM    (only when the file belongs to a period)
Finance - Fund close checklist - 2026-06 .xlsx Whose shelf The function or team that owns it What's in the jar A plain title anyone would understand Best-by date Only for things tied to a period Added for you The app sets it Never on the label Version history keeps track of all of these v3 FINAL draft new Copy of (2) your initials
A label that travels well: whose shelf it came from, what's in the jar, and a year-first date only when it matters.

The function is the team or area the file belongs to, like Finance, Investor relations, or Legal. The plain title is what you’d call it out loud if a colleague asked. Read it back and ask yourself whether someone outside your team would know what this is. If they would, you’ve done it.

Everything else stays off the label. Whether it’s a draft, who edited it last, and which version it is all change over time. (I’d think twice about baking with a jar labeled Flour_v3_FINAL_final.) Those belong in SharePoint’s columns and its version history, which we’ll get to in a moment.

Here’s what that looks like on real files from a demo financial services firm I use for screenshots:

Before After What changed
Budget_v3_FINAL_final (2).xlsx Finance - Annual operating budget.xlsx Version history keeps the versions
Form 3 - June 2026.docx Investor relations - Capital call notice - 2026-06.docx Says what it is and whose it is
June 2026 Dashboard.pptx Fund accounting - Monthly performance dashboard - 2026-06.pptx The year-first date sorts correctly
JC edits - investor letter NEW.docx Investor relations - Quarterly investor letter - 2026-06.docx Initials and “new” go stale
The same library with both naming styles. The plain names tell you what’s inside before you open anything.
The same library with both naming styles. The plain names tell you what’s inside before you open anything.

Why write the date year first?

That same team worked across European and American offices, and dates kept tripping them up. Write a date with numbers, and 06/05/2026 means June 5 to one office and May 6 to the other. Write it with month names, and your folder sorts April before January, because the computer is alphabetizing.

Sorted by month name        Sorted year first
April 2026 Dashboard        2026-01 Dashboard
February 2026 Dashboard     2026-02 Dashboard
January 2026 Dashboard      2026-03 Dashboard
March 2026 Dashboard        2026-04 Dashboard

The fix is to write the year first, then the month, then the day if you need it: 2026-06 or 2026-06-05. This is the international standard format, known as ISO 8601 if you’d like to impress someone at a party, and it’s the one way of writing a date that nobody on either side of the ocean reads differently. As a bonus, files sort themselves into the right order automatically. It’s the best-by date on the jar, written so every guest at the potluck reads it the same way.

Only add a date when the file belongs to a period, like a monthly dashboard, meeting notes, or a quarter’s reporting package. A policy or a template doesn’t need one, because people almost always want the current version.

What about all the FINALs?

During that same feedback round, someone asked for a “time machine” so they could get back to an older copy of a file without keeping five of them. I got to give them the good news that SharePoint has had one all along. It’s called version history!

As a file in a SharePoint library or OneDrive changes, SharePoint keeps the earlier versions in the background. By default, a new library keeps up to 500 major versions of each file (your admin can choose a different setting). So _v2, _v3, and _FINAL_final are all doing a job the library already does for you, and doing it less reliably, because the copies drift apart and nobody knows which one people are still editing.

To go back in time, right-click the file, choose Version history, find the version you want, and select Restore. The restored copy becomes the current version, and the newer one stays in the history in case you change your mind. Microsoft walks through restoring a previous version step by step, if you’d like the official version. (Version history is also one of the two rewind buttons I wrote about in Where do deleted files actually go?)

Right-click any file, and Version history is near the bottom of the menu.
Right-click any file, and Version history is near the bottom of the menu.
Version history lists every save with its date and author. Open any earlier version to view or restore it, no v3 copy required.
Version history lists every save with its date and author. Open any earlier version to view or restore it, no v3 copy required.

Is there ever a good reason to break the rule?

Yes, now and then. Some documents get referenced constantly and have to be trusted at a glance, even after they’ve been emailed around. On that project, the obvious candidate was the approved budget. A Status column inside SharePoint can say “Approved,” but that column stays on the shelf when the file goes to the potluck.

So the one exception I’d suggest is a fenced-in one. The approved budget, and only the approved budget, would carry APPROVED and the approval date in its name:

Finance - Annual operating budget - APPROVED 2026-01-15.xlsx

The working copy would never get that word, and when a new budget is approved, the label would move to the new file. Think of it as the tamper seal on one jar in the pantry. It only means something because the other jars don’t have one. The seal records a decision, so keep the actual sign-off wherever your team keeps approvals.

Which characters will cause trouble?

A few characters can’t go in file or folder names in OneDrive and SharePoint because they mean something special to Windows, Mac, or the web: " * : < > ? / \ |. Leading and trailing spaces aren’t allowed either. Microsoft keeps the full list of restricted names and characters, and it’s worth a skim.

There’s also a length limit, and it surprises people. The whole path counts toward 400 characters, including every folder name above the file, so a modest file name ten folders deep can still run out of room. That’s one more reason to keep labels short and plain.

How do I find the old labels?

If you look after a library, or your IT team is happy to help, this short PnP PowerShell script lists every file whose name still carries a status word or a version number. PnP PowerShell is a free community module for managing SharePoint. It needs the PnP.PowerShell module installed and an app registration your admin sets up once (that’s the client ID in the first line).

PowerShell
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/finance" -Interactive -ClientId "<your-client-id>"
Get-PnPListItem -List "Documents" -PageSize 500 |
  Where-Object { $_.FieldValues.FileLeafRef -match 'final|draft|copy of|[_ -]v\d+' } |
  ForEach-Object { $_.FieldValues.FileRef }

It only reads names, so it’s safe to run. What you get back is a to-do list of jars to relabel. Start with the files people open most, and let the rest catch up as they’re touched.

A good label travels well

A good file name has one job: it tells a stranger what’s in the jar, even after the jar has left your pantry. Put the function and a plain title on the label, add a year-first date only when the file belongs to a period, and let version history be your time machine.

The next time someone emails you a file, you’ll know what it is before you open it. Better yet, so will everyone you send yours to.

The shelf side of this story, the columns that carry status, dates, and owners inside SharePoint, is a topic of its own. I wrote about it over on the PortalSpark blog: Folders or metadata in SharePoint? An honest answer.


Next up: clear labels help people find the right file, and they help AI find it too. Do SharePoint agents need a Copilot license? looks at what you can do today.

Thanks for reading. If this helped, pass it along to the person on your team who keeps asking about it.

Microsoft 365 changes often. If you spot something that's changed since I wrote this, email me at joel@imaginemill.com and I'll update it, with thanks.

Type to search titles, topics, and article text. ↑↓ to move, ↵ to open.