Contents

Renaming a photo batch is not just a find-and-replace job. The useful name usually comes from the moment of capture, not from the file date that a copy, download, or backup may have changed. This guide gives bloggers, photographers, and editors a repeatable workflow: inspect EXIF fields, sort files before assigning counters, build a previewed naming pattern, handle duplicate timestamps, document time-zone and camera-clock risks, and keep rollback evidence through exported copies and a CSV old-to-new mapping.
The workflow can be used with a browser-based batch utility such as BatchPix, but it does not assume undocumented product features. The safe pattern is preview first, export copies, leave originals untouched, and keep an old-to-new CSV. Format support and any additional controls should be checked in the tool’s current documentation before a real batch run.
Capture date versus file date
EXIF capture date is usually the best rename source because it records when the camera made the image. DateTimeOriginal is the first field to inspect. CreateDate can help when DateTimeOriginal is absent, but it may reflect processing by software rather than the original shutter press. Filesystem dates are weaker: copying, downloading, restoring, or syncing can change modified dates, and creation dates are not portable across systems.
The practical rule is to inspect first and choose a source per file. Use DateTimeOriginal when present. If it is missing, test CreateDate. If neither exists, fall back to the file date and mark the fallback in preview and in the CSV record. A fallback date should never look identical to a true capture date.
| Sample | Likely metadata | Preferred rename source | Preview treatment |
|---|---|---|---|
| Camera JPEG | DateTimeOriginal, Make, Model, LensModel |
EXIF DateTimeOriginal |
Normal |
| Phone JPEG | DateTimeOriginal; offset fields vary |
EXIF DateTimeOriginal |
Normal; show offset if present |
| Screenshot PNG | Often no camera EXIF | File date after inspection | FALLBACK_DATE flag |
| Downloaded JPEG | Metadata may be stripped by a platform | File date after inspection | MISSING_METADATA plus fallback flag |
This table is a starting point, not a guarantee. EXIF fields vary by camera, phone, and editing path. A batch preview should show which source was chosen and flag every file that does not use a true capture timestamp.
Naming pattern and metadata tokens
Define tokens before building a pattern. A token is a named field that resolves to metadata or a counter; a separator is the literal text between tokens. Keep the pattern short enough to read in a file list, and make missing values visible.
| Token | Meaning | Example |
|---|---|---|
{date} |
Capture date | 2024-06-01 |
{time} |
Capture time | 083000 |
{camera} |
Camera make and model | Canon-EOS-R6 |
{lens} |
Lens model | RF24-105mm |
{seq3} |
Sequence padded to three digits | 001 |
{prefix} |
User prefix | trip |
{suffix} |
User suffix | edit |
A useful pattern is {date}_{camera}_{seq3}. With padding set to three digits, the sequence produces 001, 002, and so on, which keeps files sorted correctly. A start value lets a batch continue from an earlier batch; start at 42 and the first file becomes 042. Some desktop renamers support counter patterns with padding, increment, and start values; the same concepts apply to a browser workflow.
Separators matter. Underscores are readable; hyphens are safer for web use. Avoid spaces and characters that need escaping. Web-safe mode lowercases names, joins words with hyphens, and removes spaces, accents, and special characters.
Always show preview examples. For input IMG_1001.JPG, a pattern might preview 2024-06-01_Canon-EOS-R6_001.jpg. If camera metadata is missing, do not silently leave an empty segment that produces 2024-06-01__001.jpg; show NOCAM or block the token and flag the file. The preview is where naming rules become auditable.
Sorting before numbering
Sorting is a naming decision because the counter follows the chosen order. Sort before numbering, then assign sequence values. For event and travel photos, date taken is the recommended order. For a curated portfolio, manual order may be better. For reproducible administrative batches, filename order can be acceptable, but it is not chronological.
| Sort mode | What changes | Best use | Risk |
|---|---|---|---|
| Date taken | Sequence follows capture time | Events, travel, family archives | Missing EXIF falls back |
| Filename | Sequence follows original names | Reproducible file-list batches | Camera filenames may wrap or collide |
| File date | Sequence follows filesystem timestamps | Loose downloads | Copying can change dates |
| Size | Sequence follows byte size | Rare technical batches | No semantic order |
| Manual | User controls order | Curated selects | Hard to reproduce at scale |
Consider a mixed-camera sample. The original folder order might be DSC_0042.JPG, IMG_7781.JPG, and P1010233.JPG. After sorting by date taken, the first file may be the phone image, not the DSLR image. The preview must show that final order before export.
Use a documented tie-break when timestamps match, such as original filename ascending. Without a tie-break, two runs can assign different sequence numbers. The sequence should be stable for the same input set, sort mode, and settings.
Time-zone and camera-clock pitfalls
Travel photos expose two separate problems: the camera may record local time without an offset, and the camera clock may be wrong. A time-zone change can make two events appear out of order. A clock that was never adjusted can shift an entire trip by hours. Renaming alone does not fix either problem; it can only preserve or expose the values that exist.
Run a documented check before the batch rename:
- Select one file from each camera or phone used on the trip.
- Compare
DateTimeOriginalwith a known event time from a ticket, message, or GPS record. - Check for
OffsetTimeOriginalor equivalent offset fields. - Record camera model, observed clock error, offset presence, and chosen policy.
- Apply the same policy to the whole batch and note exceptions in the CSV record.
| Case | Symptom | Check | Action |
|---|---|---|---|
| Travel time-zone change | Photos sort into the wrong local hour | Offset field present or absent | Keep camera local time and document zone, or correct metadata before rename |
| Camera clock drift | All photos from one camera are shifted | Compare against a trusted event time | Correct outside the renamer or accept and document |
| Missing offset | Time looks local but zone is unknown | Inspect offset fields | Do not infer silently; flag in preview and CSV |
| Fallback date | File has no capture EXIF | Inspect metadata panel | Use file date with FALLBACK_DATE flag |
The output table is a validation record, not a guess. If the camera clock was wrong, decide whether to correct EXIF in a metadata editor first or rename with the wrong time and document it. The rename workflow should not imply that it repairs camera clocks.
Duplicate and collision handling
Duplicates are normal. Many photos share a day, and bursts can share a second. A padded sequence makes collisions predictable when the sequence is part of the pattern. A pattern without a sequence can still collide, so the preview must detect that and apply a deterministic suffix rule.
| Input files | Shared capture value | Pattern without sequence | Pattern with {seq3} |
|---|---|---|---|
IMG_1001.JPG |
Same day and second | 2024-06-01_Canon-R6.jpg |
2024-06-01_Canon-R6_001.jpg |
IMG_1002.JPG |
Same day and second | 2024-06-01_Canon-R6__dup01.jpg |
2024-06-01_Canon-R6_002.jpg |
IMG_1003.JPG |
Same day and second | 2024-06-01_Canon-R6__dup02.jpg |
2024-06-01_Canon-R6_003.jpg |
The suffix must be deterministic: sort ties by a stable key, then apply __dup01, __dup02, and so on in that order. Do not use random suffixes. Do not silently overwrite. If the export package cannot create a unique name, block the file and report a failure or unresolved collision rather than guessing.
Start numbers help continue a library. If the previous batch ended at 037, start the next batch at 038. Keep the same padding width across batches, or sorting will mix widths. Preview should show the first and last assigned numbers, plus every collision that required a suffix. The CSV should record the collision outcome so a later audit can explain why two similar photos have different endings.
Rollback and library safety
A browser-based renamer cannot rename files on disk. It packages exact copies under new names in a ZIP, leaving originals unchanged. That is a safety feature, not a limitation to hide. The export should include the renamed files and a CSV that lists every old and new name.
| Evidence | Purpose | Keep it? |
|---|---|---|
| Original folder | True source of truth | Yes, until verification |
| ZIP export | Renamed copies in one package | Yes |
| CSV old-to-new map | Audit and rollback reference | Yes |
| Your verification notes | Records fallbacks, collisions, and exclusions | Yes, if you maintain them |
| File count check | Confirms no missing outputs | Yes |
Desktop bulk-rename tools can undo a completed rename operation. That undo is limited compared with exported-copy workflows: once files are moved, extracted over originals, or edited elsewhere, the tool may not be able to reverse the change. Treat undo as a short-term convenience, not a library backup.
A safe rollback plan is simple. Keep the original folder untouched. Extract the ZIP to a new location. Compare file counts and spot-check names against the CSV. If the result is wrong, discard the export and adjust the rules. If you later replace library files with exported copies, keep the originals and CSV until the new set is verified. If you maintain a separate audit sheet, define status values consistently; do not assume the export CSV contains extra status columns unless the product documentation says so.
BatchPix workflow and format limits
For BatchPix, use only features confirmed in the current product documentation. The safe workflow described in this guide relies on a narrow set of actions: preview expected names, export exact copies under new names in a ZIP, leave originals unchanged, and include a CSV listing old and new names. Those points are enough to build a safe rename process without assuming undocumented controls.
| Stage in a batch workflow | Safe description | Verification |
|---|---|---|
| Input/upload | Add the files you intend to rename. | Count files and note extensions. |
| Rules | Choose sort order, pattern tokens, padding, start number, duplicate policy, and web-safe option. | Check the preview for resolved names and flagged fallbacks. |
| Queue/preview | Review the proposed old-to-new mapping before export. | Confirm no empty tokens, unresolved collisions, or unexpected fallbacks. |
| Download/export | Obtain the ZIP package and the CSV old-to-new map. | Compare CSV rows with the preview and confirm originals remain unchanged. |
Do not infer format support from a file extension. If the current documentation does not list a format as supported, treat it as unsupported for that run. The same rule applies to HEIC, RAW, and any format whose metadata fields are not shown in preview. A metadata-driven rename should proceed only when the preview displays the values the pattern needs. If a format is not documented as supported, convert it outside the batch or exclude it, and record the exclusion in your own notes.
The CSV old-to-new map is the verified rollback evidence. Additional columns such as dimensions, sizes, and status are proposals for your own audit record unless the product documentation defines them. This article does not document BatchPix memory or concurrency behavior. For large folders, test with a small subset, observe browser behavior, and do not rely on progress reporting, cancellation, per-file status, memory controls, or concurrency settings unless they are explicitly documented.
Experimental method and results tables
The method should be reproducible. Use a mixed sample, record the exact settings, and report both successful and failed files. The tables below are a reporting template with synthetic example rows. They show how to record a run; they are not a test of BatchPix, not product validation, and not a performance claim. Replace the rows with observed values from your own batch.
Sample set
| Group | Count | Notes |
|---|---|---|
| Camera JPEG | 40 | Two camera models, some bursts |
| Phone JPEG | 40 | Mixed offsets and missing offsets |
| Screenshot PNG | 20 | No camera EXIF |
| Downloaded JPEG | 20 | Metadata stripped |
Parameters
| Parameter | Value |
|---|---|
| Sort | Date taken, tie-break original filename |
| Pattern | {date}_{camera}_{seq3} |
| Padding | 3 digits |
| Start | 1 |
| Duplicate policy | Deterministic __dupNN suffix |
| Web-safe mode | On |
| Export | ZIP plus CSV old-to-new map |
Measure preview time, export time, peak browser memory, and concurrency only if the tool exposes controls or you can observe behavior; otherwise record not measured. Run the same sample three times and report the median. Record input name, output name, pixel dimensions, input size, output size, status, and failure reason. For failures, include the exact stage: input, metadata read, rule validation, export, or ZIP creation. Measure dimensions and sizes yourself unless the product documentation states that the export CSV contains them.
Example results table
| Input | Output | Dimensions | Input size | Output size | Status |
|---|---|---|---|---|---|
IMG_1001.JPG |
2024-06-01_canon-eos-r6_001.jpg |
6000×4000 | 8.4 MB | 8.4 MB | OK |
screenshot.png |
2024-06-01_nocam_002.png |
1440×900 | 420 KB | 420 KB | FALLBACK_DATE |
download.jpg |
2024-06-01_nocam_003.jpg |
1920×1080 | 310 KB | 310 KB | MISSING_METADATA |
burst.jpg |
2024-06-01_canon-eos-r6_004__dup01.jpg |
6000×4000 | 9.1 MB | 9.1 MB | COLLISION_RESOLVED |
excluded-file |
none | unknown | unknown | unknown | EXCLUDED_FORMAT |
Status definitions for your own audit record
These labels are proposals, not a BatchPix output contract.
| Status | Meaning |
|---|---|
OK |
True capture metadata used; unique output name |
FALLBACK_DATE |
No capture date; file date used and flagged |
MISSING_METADATA |
Required camera or lens token absent; fallback or placeholder used |
COLLISION_RESOLVED |
Duplicate final name resolved by deterministic suffix |
EXCLUDED_FORMAT |
File format not documented as supported for the run |
FAILED |
File could not be processed; reason recorded in the audit notes |
The final check is simple: open the CSV, compare a sample of old and new names, confirm the count, and verify that every excluded or failed file is visible in the preview and in your notes. If the evidence does not match, do not download or replace library files.