1. Renaming files by content
Most filenames are auto-generated by a camera or the OS — IMG_20240103_142355.jpg, scan001.pdf, DSC00211.CR2. They tell you "which one it is", not "what it's about", which makes them useless for searching.
Renaming by content means letting a tool read the file itself and derive a descriptive name. There are three main signals:
- Text: body text and titles in PDF, Word, PowerPoint, Excel and TXT, summarized into a subject.
- Visuals: after extracting frames, a vision model identifies scene, subject and action (e.g. "surfer at sunset on the beach").
- Metadata: capture time, GPS location, camera model, used to auto-fill date and place.
20240103_Xiamen-Sunset-Portrait.jpg — the date keeps it sortable, the subject keeps it searchable.2. How to batch rename files
Renaming hundreds or thousands of files by hand is slow and error-prone. There are four common approaches, each with trade-offs:
| Method | Good for | Limitation |
|---|---|---|
| Built-in batch rename | Uniform renaming across a batch (Photo (1), Photo (2)…) | Ignores content, only numbering |
| Rules / regex | Filenames that already follow a pattern; find-and-replace, prefix/suffix | Needs regex skill; no content understanding |
| Scripts (Python etc.) | Highly customized, reproducible pipelines | Requires coding and maintenance |
| AI content-aware | Messy names that need content reading | Needs a local model, downloaded once |
Three things that matter in batch renaming
- Review before writing: confirm each suggestion before the batch runs, to avoid "all wrong at once".
- Never overwrite on conflict: when a target name exists, append
-01,-02automatically. - Undoable: restore original names with one click, with history saved.
3. Building a file naming convention
A good convention lets you (and your colleagues) understand a file years later. Follow this structure:
Use "fields + a fixed separator"
Common patterns: date_subject_type or date_client_project_version. Pick one separator — underscore _ or hyphen - — and never mix.
Use YYYYMMDD for dates
Eight-digit dates sort in true chronological order by name, e.g. 20240103. Avoid Jan 3 or 01-03, which sort incorrectly.
Skip empty fields
When a field has no value (a photo without GPS), don't leave a stray separator. 20240103__portrait.jpg should be 20240103_portrait.jpg.
Avoid illegal characters
Windows and macOS both forbid \ / : * ? " < > | in filenames, and limit length. Your convention should include "auto-replace illegal characters".
4. Choosing an AI file renamer
AI renamers are multiplying. What really separates them:
| Dimension | What to check |
|---|---|
| Local vs cloud | Whether file content and visuals leave your computer; sensitive files should be processed locally. |
| Naming control | Can you define template fields, separators and date formats — or only accept a fixed scheme? |
| Review & undo | Can you confirm each suggestion before writing; restore everything after applying? |
| File types | Does it cover your real material: PDF/Office, phone HEIC, camera RAW, various video formats. |
| Setup cost | Do you need to install runtimes and pull models, or is there a one-click path? |
| Pricing | Is the free tier enough to try; is it one-time or subscription? |
How NameHero does it
- Built-in local AI engine (ships with the installer, no Ollama needed); content and visuals never leave your computer; one-click model download in-app.
- Templated naming: date / subject / type / project / location, with empty fields skipped.
- Review first, then apply; one-click undo, with history persisted across restarts.
- Supports PDF/Office, HEIC, TIFF, AVIF, camera RAW (CR2/CR3/NEF/ARW/DNG…) and common video.
- Free tier: 50 naming runs per month; Pro is a one-time, lifetime purchase.
Point it at your messiest folder
Download free to get started, no credit card. Before anything changes on disk, NameHero shows you every suggestion to review.