Rename PDF Attachments in Zotero 7
Renaming PDF attachments in Zotero 7 means using Zotero's built-in file renaming to name attachment files from their parent item's metadata, such as author, year, and title. Zotero 7 includes a customizable filename template, so researchers no longer need a separate plugin for consistent, readable PDF names.
Let Sortio handle this pass
Rather than doing this by hand, describe the result you want and let Sortio propose the moves. You review the plan before anything is applied, and every sort can be undone.
Table of Contents
Rename PDF Attachments in Zotero 7, explained
When you save a paper to Zotero, the PDF often arrives with a name that tells you nothing, like 'download.pdf', '1-s2.0-S0010.pdf', or a long string of numbers from a publisher's server. Zotero 7 fixes this by renaming attachment files from the metadata of the parent item. A file becomes something like 'Smith et al. - 2023 - Neural correlates of memory consolidation.pdf', which you can read in your file system, in search results, and when you share it with collaborators.
In earlier versions of Zotero, renaming was limited, and many researchers used the ZotFile plugin to control filename patterns. Zotero 7 moved that capability into the core application with a template-based filename format, and ZotFile is not compatible with Zotero 7. For most people, the built-in feature now covers what they used a plugin for.
Consistent attachment names matter for file organization because they keep your library usable outside Zotero. When you browse your storage folder, sync files to another tool, back up your research, or hand a folder of PDFs to a co-author, descriptive names mean each file identifies itself without needing the database.
How Rename PDF Attachments in Zotero 7 works in practice
Zotero 7 renames files automatically when you add a PDF or ebook as a child attachment of an item that has metadata. You can find the options under Settings (Preferences on older macOS versions) > General > File Renaming. From there you can turn automatic renaming on or off, choose whether it also applies to linked files, and select Customize Filename Format to edit the template.
The template uses variables in double curly braces, such as {{ firstCreator }}, {{ year }}, and {{ title }}, with optional parameters like suffix, prefix, truncate, and case. The default format produces author, year, and title separated by hyphens, with the title shortened to keep filenames manageable. You can also write conditional logic, for example using a different pattern for books than for journal articles. A preview in the settings pane shows how the current template will name the selected item.
For attachments that are already in your library, right-click an attachment and choose Rename File from Parent Metadata. If you change the filename template, Zotero can offer to rename existing files to match the new format. Zotero tracks each file through its database, so renaming inside Zotero keeps attachment links intact. PDFs that live outside Zotero, such as a downloads folder or an archive of older papers, need a different approach. Sortio can rename those files from a natural language prompt before or instead of importing them.
Why Rename PDF Attachments in Zotero 7 matters
Common challenges and fixes
Challenge:
Files are named with missing or wrong information, such as 'Unknown' authors or no year, because the item metadata was incomplete when the PDF was saved.
Solution:
Fix the item fields first, using Retrieve Metadata for PDF on standalone files where possible, then right-click the attachment and choose Rename File from Parent Metadata.
Challenge:
Renaming PDFs directly in the Zotero storage folder with an external tool causes Zotero to report that the attachment file can't be found.
Solution:
Rename stored attachments only through Zotero. If a link is already broken, use Locate in the missing-file dialog to point Zotero to the renamed file.
Challenge:
Researchers moving from ZotFile find that their old renaming rules and wildcard patterns don't carry over to Zotero 7.
Solution:
Rebuild the pattern with Zotero 7's template variables and parameters, check it with the preview, and then use the option to rename existing files so older attachments match the new format.
Challenge:
Large collections of PDFs outside Zotero, such as old project folders or downloads, still have inconsistent names.
Solution:
Use a file organization tool like Sortio to rename them from their content or metadata. Content analysis only occurs when you explicitly enable the content sorting toggle. AI-powered sorting learns from your preferences; results may vary by file type and complexity.
Best practices
Where Sortio fits
If rename pdf attachments in zotero 7 is the problem you are wrestling with, Sortio is built for it. Type a prompt like "organize these by client and year", review the proposed moves, then apply. Rule-based sorting, semantic search, and file chat are free and unlimited, and every sort can be undone.
Try Sortio on a real folderFrequently Asked Questions
Does Zotero 7 rename PDF attachments automatically?
Yes. By default, Zotero 7 renames PDF and ebook attachments from the parent item's metadata when you add them. You can turn this on or off, and change the filename format, under Settings > General > File Renaming.
How do I rename PDFs that are already in my Zotero library?
Select one or more attachments, right-click, and choose Rename File from Parent Metadata. If you change your filename template, Zotero can also offer to rename existing files to match the new format.
Do I still need ZotFile to rename files in Zotero 7?
No. ZotFile is not compatible with Zotero 7, and its main renaming features are now built in. You can recreate most ZotFile naming patterns with Zotero 7's template variables, such as firstCreator, year, and title.
Can I rename Zotero PDFs in Finder or File Explorer?
It isn't recommended for stored attachments. Zotero tracks each file by name in its database, so renaming outside Zotero breaks the link. Rename from inside Zotero, or use Locate to reconnect a file if its link is already broken.
How can Sortio help with research PDFs outside Zotero?
Sortio can rename and sort PDFs in folders like Downloads or old project archives from a plain-language prompt, before you import them into Zotero or instead of importing them. It backs up files before making changes, so you can revert, and offline mode processes files locally on your device without cloud connectivity.
Related Terms
Citation Management Software
Citation management software helps researchers collect, store, and format references and bibliographies for academic writing.
Rename PDF Files Based on Content
How AI reads the text inside PDFs to automatically rename files with clear, descriptive, searchable names instead of generic scanner output.
