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
How to make a Cross Chain transfer in the Avalanche Wallet between P and C-Chain | Avalanche Support
Best Crypto Staking Platforms & Reward Rates for 2023
Spn 1816 Fmi 9
Botw Royal Guard
Trabestis En Beaumont
Plaza Nails Clifton
Boggle Brain Busters Bonus Answers
15 Types of Pancake Recipes from Across the Globe | EUROSPAR NI
House Share: What we learned living with strangers
Costco Gas Foster City
Haunted Mansion Showtimes Near Millstone 14
Tamilrockers Movies 2023 Download
Xxn Abbreviation List 2023
St Maries Idaho Craigslist
Vipleaguenba
How pharmacies can help
Zack Fairhurst Snapchat
Pay Boot Barn Credit Card
TBM 910 | Turboprop Aircraft - DAHER TBM 960, TBM 910
ZURU - XSHOT - Insanity Mad Mega Barrel - Speelgoedblaster - Met 72 pijltjes | bol
Energy Healing Conference Utah
ABCproxy | World-Leading Provider of Residential IP Proxies
Heart and Vascular Clinic in Monticello - North Memorial Health
Empire Visionworks The Crossings Clifton Park Photos
Roane County Arrests Today
How to Make Ghee - How We Flourish
How To Find Free Stuff On Craigslist San Diego | Tips, Popular Items, Safety Precautions | RoamBliss
Https E22 Ultipro Com Login Aspx
Barista Breast Expansion
Dal Tadka Recipe - Punjabi Dhaba Style
Mynahealthcare Login
Buhl Park Summer Concert Series 2023 Schedule
Shiny Flower Belinda
Craigslist Auburn Al
Darktide Terrifying Barrage
Ofw Pinoy Channel Su
Nacogdoches, Texas: Step Back in Time in Texas' Oldest Town
Best Restaurants In Blacksburg
D3 Boards
Honda Ruckus Fuse Box Diagram
Frcp 47
NHL training camps open with Swayman's status with the Bruins among the many questions
Miracle Shoes Ff6
PruittHealth hiring Certified Nursing Assistant - Third Shift in Augusta, GA | LinkedIn
Omaha Steaks Lava Cake Microwave Instructions
Sept Month Weather
Citibank Branch Locations In Orlando Florida
Actress Zazie Crossword Clue
Mcoc Black Panther
Oefenpakket & Hoorcolleges Diagnostiek | WorldSupporter
All Buttons In Blox Fruits
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.