Microsoft Word's default filename is Document1.docx. Apple Pages saves as Untitled.pages. Google Docs exports come down as Copy of Project Proposal v2 (final) (real).docx. After six months, your ~/Documents is a graveyard of mystery filenames. This post shows how to rename Word documents by content on macOS โ automatically, by what each document actually says.
Why document renaming is harder than it looks
Word, Pages, and Google Docs files carry metadata (title, author, subject) โ but very few users set these. The file itself contains the real clue: the first page, the title line, the opening paragraph. To rename by that, a tool must:
- Unzip the DOCX/PAGES container.
- Parse the XML or plist structure to extract the visible text.
- Identify the title (styled "Heading 1" or visually-prominent first line).
- Turn that into a clean filename.
FilesDesk does all this on-device. No upload required.
Supported document formats on Mac
- DOCX (Microsoft Word, LibreOffice, Google Docs export)
- DOC (legacy Word)
- PAGES (Apple Pages)
- RTF (TextEdit, many exports)
- ODT (LibreOffice / OpenOffice)
- TXT, MD (plain text, Markdown)
- PPT, PPTX, KEYNOTE โ reads first slide title
- XLS, XLSX, NUMBERS โ reads sheet names and first column header
Template placeholders for documents
{doc_title}โ first Heading 1 or visually-prominent title{doc_author}โ metadata author field{doc_subject}โ metadata subject field{ai_summary}โ AI-generated 2โ4 word summary of the document{doc_date}โ metadata last-saved date (ISO){doc_pages}โ page count{doc_word_count}โ word count
Real example โ one messy folder
# Before (typical ~/Documents/ mess) Document1.docx Document2.docx Copy of Resume FINAL_real.docx Untitled.docx Proposal.docx Proposal (1).docx Proposal (2).docx Untitled.pages Copy of Meeting Notes 2026.docx # After FilesDesk rename on Mac 2026-04-12_q1-marketing-plan-draft.docx 2026-03-28_offer-letter-emma-chen.docx 2026-04-15_resume-jordan-vega.docx 2026-02-10_grant-proposal-nsf-bio-research.docx 2026-04-01_proposal-acme-corp-web-redesign-v1.docx 2026-04-08_proposal-acme-corp-web-redesign-v2.docx 2026-04-15_proposal-acme-corp-web-redesign-v3-signed.docx 2026-04-19_travel-itinerary-tokyo-may.pages 2026-04-18_meeting-notes-quarterly-planning.docx
Step-by-step on Mac
- Install FilesDesk for Mac.
- Drag your Documents folder or a subfolder into FilesDesk.
- Pick the built-in "Document Title + Date" template:
{doc_date:YYYY-MM-DD}_{ai_summary} - Preview โ Apply.
Dropbox and iCloud Drive users: Rename with FilesDesk, then let Dropbox/iCloud sync the new names across devices. Works cleanly โ no duplicate file issues, no broken links. The renamed file is still the same file; only its name metadata changed.
Google Docs export workflow
If you use Google Docs heavily, your Mac Downloads folder is probably full of Untitled document.docx, Copy of Meeting Notes.docx, and Project Proposal (1).docx. Enable a FilesDesk Watch Folder on ~/Downloads with document routing:
IF extension IN [.docx, .doc, .odt, .rtf]
THEN rename with {doc_date}_{ai_summary}
AND move to ~/Documents/Exports/
Privacy mode for confidential documents
Contracts, offer letters, legal memos โ these should not flow through any cloud AI. Use FilesDesk's offline mode:
- Install Ollama on your Mac.
- Pull
qwen2.5vl:7bor any text model. - Set FilesDesk's AI provider to "Ollama (local)".
Document text is extracted and classified entirely on-device.
Rename Word documents by content on Mac
Free to start. 15 AI credits included.
Download FilesDesk for MacFAQ
Can FilesDesk read password-protected DOCX files?
No. Password-protected documents skip the rename step โ the file stays as-is, clearly flagged in the preview.
Does renaming affect the document's internal metadata?
No. Only the filename on disk changes. Author, title, revision history, and track-changes data inside the document are untouched.
Does this work with iCloud Drive or Dropbox?
Yes. Renaming is a standard POSIX rename โ iCloud Drive and Dropbox sync the new filename normally.
Can I rename .pages files on Mac?
Yes. FilesDesk unpacks .pages containers and extracts the title and first paragraph for naming.