Best Practices for File Naming (2024)

Advances in computing have made moving files between different platforms much easier than just a few years ago. The adoption of the UNICODE standard for character encoding and cross compatibility between operating systems has made problems opening a file received as an attachment to an email, downloaded from a web site, or accessed on a cloud storage platform extremely rare, but problems can still occur.

While the vast majority of desktop computers still use Microsoft Windows or the Macintosh OS, there remain many other operating systems (and file systems) that can interact with files at different points. Cell phones, tape drives, networking equipment, televisions, and even digital cameras support file systems today.

Most file systems today, and the operating systems that incorporate them, support much longer file names than the personal computers that ran Microsoft DOS and early versions of Windows. These computers used the 8.3 filename which allowed eight characters to the left of a period with three characters to the right to tell the computer which application to use to display it. However, it is still possible to run into problems related to filename length.

Adopting good file naming conventions can help ensure that files will work with different operating systems and disk formats, such as Windows, Linux, Mac OS X and UNIX. File naming is also an important consideration when transferring files via the Internet, where it may not be evident what computer platform was used when the files were originally created.

File names can be either descriptive or non-descriptive. Descriptive file names are useful for small, well-defined projects with existing identification schemes that link the digital object to the source material. However, inconsistent application of terms or typos will contribute to indexing and sorting errors. Non-descriptive file names are usually system-generated sequential numerical strings, such as a digital ID number and are often linked to metadata stored elsewhere. Non-descriptive file names are often created for large scale digitization projects and may employ a digital ID number and numerical sequences to indicate batch or parent-child relationships. The advantage of non-descriptive names is that there is less chance of repeated or non-unique file names within a data structure.

Some applications and computer scripts may not recognize spaces or will process your files differently when using spaces. A best practice is to replace spaces in file names with an underline (_) or hyphen (-). Appendix B of NARA Bulletin 2015-04 states that spaces aren’t allowed in filenames. Web environments translate spaces and will render them as “%20”. For example, “File Name.doc” would appear on-line in the URL as “File%20Name.doc” where?. This alteration can cause confusion in identifying the actual file name.

Punctuation, symbols, or special characters (periods, commas, parentheses, ampersands, asterisks, etc.) should be avoided. Some of these symbols are used in operating systems to perform certain tasks, such as to identify folder levels in Microsoft products and Mac operating systems. Periods are used to identify file formats such as .jpg and .doc.

The following are best practices for file naming. File names should:

  • Be unique and consistently structured;
  • Be persistent and not tied to anything that changes over time or location;
  • Limit the character length to no more than 25-35 characters;
  • Use leading 0s to facilitate sorting in numerical order if following a numeric scheme “001, 002, …010, 011 … 100, 101, etc.” instead of “1, 2, …10, 11 … 100, 101, etc.”;
  • Contain a file format extension;
  • Use a period followed by a file extension (for example, .tif, .jpg, .gif, .pdf, .wav, .mpg);
  • Use lowercase letters. However, when a name has more than one word, start each word with an uppercase letter for example, “File_Name_Convention_001.doc”;
  • Use numbers and/or letters but not characters such as symbols or spaces that could cause complications across operating platforms;
  • Use hyphens or underscores instead of spaces;
  • Use international standard date notation (YYYY-MM-DD or YYYYMMDD);
  • Avoid blank spaces anywhere within the character string; and
  • Not use an overly complex or lengthy naming scheme that is susceptible to human error during manual input, such as “filenameconventionjoesfinalversioneditedfinal.doc”.

Update on 8/31/17: Changed underscores to hyphens.

Best Practices for File Naming (2024)
Top Articles
'Check your change': The Royal Mint's 10 rarest 50p coins revealed
FHA Vs. VA Loans: What’s The Difference, And Which One Is Best For You?
Tryst Utah
El Paso Pet Craigslist
Top Scorers Transfermarkt
Wausau Marketplace
Sportsman Warehouse Cda
Craigslist In South Carolina - Craigslist Near You
Top Golf 3000 Clubs
fltimes.com | Finger Lakes Times
Spelunking The Den Wow
Ukraine-Russia war: Latest updates
Dr Manish Patel Mooresville Nc
My.tcctrack
Mzinchaleft
Video shows two planes collide while taxiing at airport | CNN
Charter Spectrum Store
Busted Campbell County
Lakers Game Summary
Dwc Qme Database
At&T Outage Today 2022 Map
If you have a Keurig, then try these hot cocoa options
Breckiehill Shower Cucumber
Mineral Wells Skyward
Darrell Waltrip Off Road Center
Egusd Lunch Menu
800-695-2780
Cosas Aesthetic Para Decorar Tu Cuarto Para Imprimir
Neteller Kasiinod
ATM, 3813 N Woodlawn Blvd, Wichita, KS 67220, US - MapQuest
Pipa Mountain Hot Pot渝味晓宇重庆老火锅 Menu
Home Auctions - Real Estate Auctions
JD Power's top airlines in 2024, ranked - The Points Guy
Junee Warehouse | Imamother
Verizon Outage Cuyahoga Falls Ohio
Umiami Sorority Rankings
Aita For Announcing My Pregnancy At My Sil Wedding
All Obituaries | Sneath Strilchuk Funeral Services | Funeral Home Roblin Dauphin Ste Rose McCreary MB
All-New Webkinz FAQ | WKN: Webkinz Newz
Gym Assistant Manager Salary
The Horn Of Plenty Figgerits
Embry Riddle Prescott Academic Calendar
How to Install JDownloader 2 on Your Synology NAS
Access to Delta Websites for Retirees
The Average Amount of Calories in a Poke Bowl | Grubby's Poke
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
Bank Of America Appointments Near Me
A Man Called Otto Showtimes Near Cinemark Greeley Mall
Argus Leader Obits Today
Colin Donnell Lpsg
Diamond Desires Nyc
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 6255

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.