RenameNinja

RenameNinja — Free Download. Batch renaming with regular expressions and JavaScript

RenameNinja is a native macOS application for batch renaming files by combining regular expressions to extract fields from original filenames and custom JavaScript code to transform those fields. The tool automatically extracts advanced metadata from images, audio files, videos, PDF documents, and Office files, making a wide range of variables available for use in renaming logic. The application offers an unlimited trial period with no functional restrictions, requiring a license only to remove periodic reminders. It is built entirely with SwiftUI and AppKit, ensuring deep integration with macOS starting from version Sonoma (14).

★★★★★
4.0(1 rating)

Download RenameNinja (Official links)
File size: 2.4 MB
The latest version of RenameNinja is: 1.1
Operating system: MacOS
Languages: English
Price: $0.00 USD

  • Field extraction using regular expressions. The user defines a regular expression pattern applied to each file's original name. Each capture group defined in the regular expression becomes an independent field that can be referenced later. This mechanism allows structured filenames (such as those containing dates, serial numbers, or identifiers) to be broken down into logical components that serve as the foundation for constructing the new name. If the regular expression does not match any file, the rename operation is blocked to prevent inconsistent results.
  • Field transformation with custom JavaScript. For each file, the application executes a JavaScript code block defined by the user. Within this environment, the fields object provides access to all previously extracted fields as well as file metadata. The developer can modify, concatenate, or dynamically generate new values. A context object persists throughout the entire renaming process, allowing custom counters or shared states to be maintained across files, facilitating complex numbering sequences or non-linear logic.
  • Final name construction using templates. Once fields have been processed with JavaScript, the user specifies a result pattern where fixed text can be interspersed with field references (such as {date}, {name}). The order and structure of the final name can be freely defined, enabling standardized naming conventions and the direct embedding of metadata such as image dimensions, EXIF data, or audio track information into filenames.
  • Undo rename operations. The application maintains a record of the executed rename operation, allowing the change to be completely reversed using the undo function. This feature ensures that any transformation applied to files can be reverted without data loss, restoring filenames to their original state prior to the operation.
  • Metadata extraction from images (EXIF). For image files, the software automatically reads EXIF metadata and exposes it as accessible fields. Available data includes dimensions (width and height in pixels), camera make and model, lens used, exposure time in decimal or fractional format, aperture, f-number value, ISO sensitivity, focal length, GPS coordinates (latitude, longitude, and altitude), and the original capture date and time. These fields can be used directly in JavaScript code or in the final template.
  • Metadata extraction from video files. Video files provide technical metadata essential for editing or cataloging workflows. RenameNinja extracts duration in seconds, pixel dimensions, frame rate in frames per second (fps), resolution categorized into classes (8K, 4K, 1080p, 720p, 480p, or SD), number of audio tracks, and the creation date and time of the file. All this information is available as fields that can be incorporated into the renaming logic.
  • Metadata extraction from audio files. For audio files, the application obtains data such as duration, track title, artist, album, genre, track number, disc number, release year, sample rate, bit depth, channel count, and channel configuration type (mono, stereo, or multi-channel). These metadata fields allow music libraries or sound files to be organized with precise criteria based on the intrinsic content of each file.
  • Metadata extraction from PDF documents. PDF files provide a set of fields including title, author, subject, creator, producer, creation date and time, modification date and time, and total page count. This functionality proves useful for managing large volumes of documents, allowing structural information from the PDF to be incorporated directly into the filename without opening each document manually.
  • Metadata extraction from Office documents. Microsoft Office files (Word, Excel, PowerPoint) and iWork files (Pages, Numbers, Keynote) expose metadata through the macOS Spotlight system. Available fields include title, authors, creator, description, and subject of the document. Although the availability of this data depends on the information embedded in each file, its integration enables renaming workflows based on document content.
  • Real-time preview and field highlighting. The main interface displays a table with all loaded files, their original names, and the computed new names based on the defined rules. Each extracted or generated field is visually highlighted, and fields unavailable for a specific file are marked in red, providing immediate feedback on potential inconsistencies. A tree view panel allows exploration of all available metadata per file in real time.
  • Saving recent sessions and quick access. The application automatically stores the last ten rename sessions, including the regular expressions, JavaScript code, and templates used. Through the recent sessions menu, the user can retrieve previous configurations without redefining the transformation logic, streamlining repetitive or similar tasks.
  • Validation before renaming. The rename button remains disabled until all files in the list successfully pass the extraction stage using the regular expression and the execution of the JavaScript code. This validation prevents incomplete operations or partial errors that could leave files inconsistently renamed, ensuring that the defined rule applies to the entire set of selected items.
  • QuickLook preview of original files. Double-clicking any filename in the list activates the system QuickLook function, displaying a preview of the original content without opening the associated application. This feature facilitates content verification before applying the rename operation, particularly when working with multimedia files or documents.

The RenameNinja application was created by an independent developer under the Loshadki brand, with the goal of providing a renaming tool based on precise software engineering principles, oriented toward users with technical expertise who require complete control over filename transformation. Development began in 2023, and the first public version was released with support for macOS Sonoma. The program is written entirely in Swift, utilizing SwiftUI for the user interface and AppKit for deep integration with the macOS file system and metadata services. The core renaming logic employs Swift's native regular expression engine and the JavaScriptCore framework, which enables JavaScript code execution in an isolated and secure manner within the application environment.


Alternatives to RenameNinja:

For RenameNinja there are 20 alternative programs. Free: 16, paid: 4.

Confold — Free Download. Folder Comparison

Confold

Confold is a folder and file comparison tool for Windows, macOS and Linux, created by Juan Garcia Longaron.
Price: Free   Size: 5.86 MB   Version: 0.6.1   OS: Windows, Linux, MacOS
RenameClick — Free Download. Smart File Renaming

RenameClick

RenameClick is a local-first AI file renamer and organizer for macOS and Windows.
Price: Free   Size: 626 MB   Version: 3.1.0   OS: Windows, MacOS
PrintScreen.ly — Free Download. Screenshot and screen recording

PrintScreen.ly

PrintScreen.ly is a desktop-first screenshot and screen recording application for macOS and Windows with a synchronized web dashboard.
Price: Free   Size: 75.7 MB   Version: 1.8.7   OS: Windows, Linux, MacOS
Pix42 — Free Download. Browse RAW images and archives without switching tools

Pix42

Pix42 is a multimedia browser for Windows and macOS that views images, video, audio, RAW camera files and archives (ZIP, RAR, CBZ, CBR, 7z) inside one application.
Price: Free   Size: 171 MB   Version: 2.0.2   OS: Windows, MacOS
AB Commander — Free Download. Dual-panel File Manager with folder synchronization

AB Commander

AB Commander is a dual-panel file manager designed as a replacement for Windows Explorer.
Price: Free   Size: 5.4 MB   Version: 26.1   OS: Windows
Oxyde — Free Download. File manager with dual panels and disk image support

Oxyde

Oxyde is a modern high-performance file manager built with Rust and Tauri, featuring a React and TypeScript interface.
Price: Free   Size: 8.35 MB   Version: 1.1.0   OS: Windows
MTF Explorer — Free Download. Tabbed file manager with cloud connectors

MTF Explorer

MTF Explorer (Multi Tab File Explorer) is a modern file manager for Windows designed to unify workflows across local folders, cloud storage services (AWS S3, Azure, Google Cloud), and remote…
Price: $8   Size: 131.3 MB   Version: 1.0   OS: Windows
MouseMacros — Free Download. Mouse and keyboard automation

MouseMacros

MouseMacros is an application written in Java to record and play back sequences of actions.
Price: Free   Size: 34.3 MB   Version: 1.3.0   OS: Windows
Folder Preview — Free Download. Quick Look extension to preview folders in macOS

Folder Preview

Folder Preview is an extension for macOS Quick Look.
Price: $2.99   Size: 14.2 MB   Version: 2.6   OS: MacOS
Markdown Preview — Free Download. Quick look extension for Markdown files

Markdown Preview

Markdown Preview is an extension for Quick Look on macOS that generates formatted previews of files with the .md extension.
Price: $2.99   Size: 10 MB   Version: 1.9.1   OS: MacOS
Free File Unlocker — Free Download. Delete locked files

Free File Unlocker

Free File Unlocker is a free utility to delete locked, in-use, or inaccessible files on Windows systems.
Price: Free   Size: 14.5 MB   Version: 5.17   OS: Windows
FolderFresh — Free Download. Automatic file organization

FolderFresh

FolderFresh is a utility that automatically organizes cluttered folders.
Price: Free   Size: 25.6 MB   Version: 1.3.0   OS: Windows
Markerpad — Free Download. Digital whiteboard for notes

Markerpad

Markerpad is a digital whiteboard application designed for creating notes, diagrams, and mind maps.
Price: Free   Size: 39.7 MB   Version: 1.0.0   OS: Windows
Rename X Pro — Free Download. Batch renaming utility

Rename X Pro

Rename X Pro is a batch renaming utility developed by Pathos Software.
Price: $9   Size: 3.3 MB   Version: 1.0.1   OS: MacOS
FileBot — Free Download. Automated media organization

FileBot

FileBot is an application for renaming and organizing media files.
Price: Free   Size: 54 MB   Version: 5.2.0   OS: Windows, Linux, MacOS
Executor — Free Download. Customizable program launcher

Executor

Executor is a free software for Windows that functions as an application launcher and an advanced replacement for the Windows Run tool.
Price: Free   Size: 6.2 MB   Version: 2.0.3.0   OS: Windows
Clone Files Checker — Free Download. Find and delete duplicate files

Clone Files Checker

Clone Files Checker is an application specialized in detecting duplicate files on Windows systems and cloud storage drives.
Price: Free   Size: 3.2 MB   Version: 6.1   OS: Windows, MacOS
FocusOn Renamer — Free Download. Massive File Renaming

FocusOn Renamer

FocusOn Renamer is a utility for modifying file names in bulk.
Price: Free   Size: 0.522 MB   Version: 1.8   OS: Windows
Explorer Commander — Free Download. Dual file manager

Explorer Commander

Explorer Commander is a file manager for Windows with a dual-panel interface.
Price: Free   Size: 0.435 MB   Version: 1.3.0.20   OS: Windows
Filelist Creator — Free Download. File listing generation

Filelist Creator

Filelist Creator is a software application specialized in creating systematic listings of files and directories.
Price: Free   Size: 0.79 MB   Version: 20.1.15   OS: Windows, Linux, MacOS

New programs