{"id":2582,"date":"2026-08-08T01:50:28","date_gmt":"2026-08-07T22:50:28","guid":{"rendered":"https:\/\/picajet.com\/articles\/glossary\/file-naming-convention\/"},"modified":"2026-08-08T03:45:54","modified_gmt":"2026-08-08T00:45:54","slug":"file-naming-convention","status":"publish","type":"glossary","link":"https:\/\/picajet.com\/articles\/glossary\/file-naming-convention\/","title":{"rendered":"File naming convention"},"content":{"rendered":"<p class=\"wp-block-paragraph\">A file naming convention is the rule set behind every filename in a DAM: what fields it includes, in what order, separated by what character, in what date format. Its value is easy to underestimate because a good DAM&#8217;s search makes filenames feel unimportant \u2014 but the moment an asset is exported, emailed, or handed to a print vendor, the filename is the only metadata that travels with it.<\/p><p class=\"wp-block-paragraph\">Digital preservation guidance from library and archives institutions converges on a small set of practical rules: use only letters, digits, hyphens, and underscores; avoid spaces and special characters that behave inconsistently across operating systems; use ISO 8601 date format (YYYYMMDD) so files sort chronologically; and zero-pad sequence numbers so &#8220;page2&#8221; doesn&#8217;t sort after &#8220;page100.&#8221; These aren&#8217;t arbitrary style preferences \u2014 each rule solves a specific, observed failure mode in real file systems.<\/p><p class=\"wp-block-paragraph\">The gap between having a convention and having consistent filenames is enforcement, not documentation. A style guide that lives in a PDF nobody reads at upload time produces the same messy library as having no convention at all \u2014 which is why the more durable version of this concept, controlled file naming, builds the rule into the system itself rather than relying on contributors to remember it.<\/p>","protected":false},"excerpt":{"rendered":"<p>A documented, agreed-upon pattern for constructing filenames so every asset in a system is named consistently and predictably.<\/p>\n","protected":false},"author":0,"featured_media":0,"template":"","meta":{"footnotes":"","faq":[{"question":"Why does a naming convention matter even with good DAM search?","answer":"Inside the DAM, search works because assets carry structured metadata\u2014tags, keywords, custom fields\u2014so the filename itself barely matters for retrieval. But that metadata usually doesn't survive the trip out: the moment a file is exported, attached to an email, dropped into a shared folder, or handed to a print vendor, most systems strip or ignore the embedded context. At that point the filename is the only label left, so it needs to carry enough information\u2014project, date, version\u2014to identify the asset on its own."},{"question":"What rules does digital preservation guidance recommend for filenames?","answer":"Guidance from bodies like the U.S. National Archives (NARA) and the Library of Congress converges on a few rules: use only letters, digits, hyphens, and underscores\u2014no spaces, ampersands, apostrophes, or parentheses, since those characters break scripts and URLs. Dates should follow ISO 8601 (YYYYMMDD) so they sort chronologically. Sequence numbers need zero-padding for correct numeric sort. NARA also caps total file-path length around 255 characters and discourages multiple periods before the extension."},{"question":"Why does zero-padding sequence numbers matter?","answer":"Most file systems and DAM asset lists sort filenames as text, character by character, not by numeric value. Without zero-padding, 'page2' sorts after 'page10' and 'page100' because '1' comes before '2' in that first-character comparison, scrambling the intended sequence. Padding every number to a fixed width\u2014say 001, 002, \u2026010, \u2026100\u2014so all sequence numbers share the same digit count keeps the list in true numeric order. The padding width should be chosen to cover the largest expected count in the series."},{"question":"What's the gap between documenting a convention and having it followed?","answer":"A documented convention is just text\u2014a wiki page, PDF, or style guide describing rules. Whether it's actually followed depends on separate factors: whether new contributors ever read it, whether freelancers and vendors receive it before delivering files, and whether anyone checks incoming assets against it. Without a review step or automated check at ingest, documentation and practice drift apart fast. A style guide nobody consults while naming a file produces the same disorganized library as never having written one."},{"question":"What typically happens to a naming convention that's only documented, not enforced?","answer":"Within months, a split emerges: part of the library follows the rule, while the rest still carries camera-default names (IMG_1234.jpg, DSC00123.CR2), freelancer-supplied filenames, or names inherited from stock downloads. New contributors who never saw the guide, or saw it once and forgot the specifics, keep adding to the inconsistent portion. Because renaming after the fact risks breaking existing links, embeds, and cross-references to those assets, the split tends to persist rather than self-correct, leaving the library permanently mixed."},{"question":"What's the more durable alternative to a documented-only convention?","answer":"Controlled file naming shifts the rule from a document to the system itself: the DAM either auto-generates the filename from structured fields (project code, date, sequence) at upload, or validates incoming filenames against a defined pattern and rejects or renames anything that doesn't match. Because the system enforces the pattern automatically, the convention no longer depends on every contributor remembering or reading a style guide\u2014it holds regardless of who's uploading, freelancer or staff, making it far more durable than documentation alone."}],"checked_date":"2026-08-11","sources":[{"statement":"Digital preservation best practice recommends filenames use only letters, digits, hyphens and underscores (no spaces or special characters), ISO 8601 date format, and zero-padded sequence numbers so files sort and open correctly.","source_name":"Penn State University Libraries \u2014 Personal Digital Archiving guide","url":"https:\/\/guides.libraries.psu.edu\/c.php?g=1190817&p=8709882","checked":"2026-08-07"}],"kicker":"","fact_checker":0,"reading_time":0,"revisions":[],"seo_title":"File naming convention: patterns that keep assets findable","seo_description":"","noindex":false,"related":[2472,2507,2493,2557,2494,2477],"definition":"A documented, agreed-upon pattern for constructing filenames so every asset in a system is named consistently and predictably.","why":"A consistent naming convention keeps files identifiable and sortable outside the DAM too \u2014 in a folder export, an email attachment, a printer's file drop \u2014 which matters because assets constantly leave the DAM's search index and travel as bare files with no metadata attached. Conventions typically fix the field order (project, date, version), the separator character, and the date format so files sort chronologically and a human can identify a file without opening it.","example_rows":[{"field":"Pattern","values":"{client}_{project}_{YYYYMMDD}_{version}.{ext}"},{"field":"Example","values":"acme_springcampaign_20260304_v03.psd"},{"field":"Rule","values":"No spaces or special characters, ISO 8601 dates, zero-padded sequence numbers"}],"mistake":"Conventions get documented but not enforced at ingestion, so within months half the library follows the rule and half still carries camera-default or freelancer-supplied filenames, defeating the point.","deep_link":""},"silo":[24],"class_list":["post-2582","glossary","type-glossary","status-publish","hentry","silo-glossary"],"_links":{"self":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary\/2582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/types\/glossary"}],"version-history":[{"count":3,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary\/2582\/revisions"}],"predecessor-version":[{"id":3550,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary\/2582\/revisions\/3550"}],"wp:attachment":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/media?parent=2582"}],"wp:term":[{"taxonomy":"silo","embeddable":true,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/silo?post=2582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}