Windows tray utility · Free & open sourceWindows 托盘工具 · 免费开源

Rename the suffix,
get the real format.
改个后缀,
就换了格式。

Windows only changes the name, never the bytes — so a renamed file often breaks. RenamePro watches your renames in Explorer and truly converts the content to the new format: image, audio or video. Windows 改后缀只改名字,不改内容,改完常常得到打不开的坏文件。RenamePro 在后台监听资源管理器里的改名动作,把文件内容真正转换成新格式——图片、音频、视频都行。

Windows 10 / 11 x64 · Portable, no installer · No window — it lives in the tray Windows 10 / 11 x64 · 绿色便携免安装 · 无主窗口,常驻托盘

photo .jpg .png photo - copy.jpg RenamePro

“Just rename it. Leave the rest to me.”「你只管改名,剩下的交给我。」

How it works工作原理

Rename it. It gets converted.改个名字,格式就转好了。

Three quiet steps happen behind the tray icon.托盘图标安静地待着,三步在后台悄悄完成。

  1. 01/ 03

    Rename the extension.在资源管理器里改后缀。

    Rename photo.jpg to photo.png right where the file is. Nothing else to open.直接在文件所在位置把 photo.jpg 改成 photo.png,不用打开任何软件。

  2. 02/ 03

    Verified, backed up, converted.校验、备份、转换。

    The real format is checked from the file header, a copy of the original is kept, then the content is converted and swapped in atomically.先按文件头校验真实格式,保留一份原格式副本,再把内容转换后原子替换回去。

  3. 03/ 03

    Progress, then a toast.系统进度框,完成后通知。

    The same progress dialog Explorer uses — batched and cancellable. A Windows Toast summarizes the run when it finishes.弹出与资源管理器同款的进度框,多任务聚合、可取消;完成后 Toast 汇总通知。

Features核心特性

Small tool, careful work.工具不大,活儿很细。

Built to be invisible — and to never eat your files.平时感觉不到它的存在,也绝不吞掉你的文件。

  • Watches every fixed drive监听所有固定磁盘

    FileSystemWatcher across all fixed drives, four cheap early-exit filters, 300ms rename debounce, and automatic listener rebuild with backoff.FileSystemWatcher 覆盖全部固定磁盘,四级早退过滤、300ms 防抖合并,监听出错按 1s/5s/30s 自动重建。

  • Images, mostly lossless图片互转,多数无损

    png / jpg / bmp / gif / webp / tiff convert through Magick.NET. Only JPEG output is lossy (quality configurable); WebP encodes losslessly.png / jpg / bmp / gif / webp / tiff 经 Magick.NET 互转;仅 JPEG 输出有损(质量可配),WebP 走无损编码。

  • Stream-copy first for A/V音视频优先流拷贝

    FFmpeg remuxes with -c copy whenever the codecs fit — seconds, regardless of file size — and re-encodes only when it has to.编码与目标容器兼容时 FFmpeg 只重封装不重编码,秒级完成、与体积无关;不兼容才自动重编码。

  • A copy before anything转换前先留副本

    The original is copied aside first (photo - copy.jpg). Failures can roll back automatically, and your backup is never deleted for you.转换前先复制一份原格式副本(photo - 副本.jpg);失败可自动回滚,程序永不自动删除副本。

  • Native progress & toasts系统级进度与通知

    The Shell progress dialog (IOperationsProgressDialog) Explorer uses, with batching, cancel support and a Windows Toast summary.Shell COM 进度对话框(资源管理器同款 IOperationsProgressDialog),多任务聚合、可取消,完成后 Toast 汇总。

  • Quiet and light安静且轻量

    No window, no console, single instance. About 57MB idle working set; Magick loads only when an image actually converts.无窗口、无控制台、单实例运行;空载工作集约 57MB,Magick 仅在真正转换图片时才加载。

Formats格式矩阵

What goes in, what comes out.进什么,出什么。

  • Images · converted图片 · 互转

    pngjpgjpeg bmpgifwebptiff .ico 涉及即跳过

    GIF sources follow gifPolicy: first frame only, or skipped. Combinations involving .ico are ignored on purpose.GIF 源按 gifPolicy 取首帧或跳过;涉及 .ico 的组合有意忽略,避免生成不稳定的图标。

  • Video · remux or re-encode视频 · 重封装或重编码

    mp4mkvavimov wmvtswebmflv

    Video → audio extracts the track; audio → video wraps an audio-only stream. Stream copy whenever the codecs fit.视频转音频为提取音轨;音频转视频为仅音频流封装。编码兼容时优先流拷贝。

  • Audio · per-target encoder音频 · 按目标选编码器

    mp3wavflac aacoggm4a

    Lossy → lossless is allowed but noted in the log: it won't improve the sound.有损转无损不阻断,但日志会提示:音质并不会因此提升。

Anything outside the matrix is skipped silently and written to log.txt — never a surprise popup.矩阵之外的组合静默跳过并写入 log.txt,不会弹任何打扰提示。

Quick start快速开始

Start in one minute.一分钟上手。

Download, extract, double-click. That is the whole setup.下载、解压、双击——全部安装步骤就这么多。

01 Download the release下载发布包使用 Extract anywhere and double-click RenamePro.exe解压任意目录,双击 RenamePro.exe
  1. Pick a package.选一个包。

    RenamePro-Full-*.zip (images + audio/video, bundles FFmpeg) or RenamePro-Image-*.zip (smallest, images only).RenamePro-Full-*.zip(完整版,图片 + 音视频,内置 FFmpeg)或 RenamePro-Image-*.zip(图片版,体积最小)。

  2. Extract and run.解压后运行。

    Keep the folder layout intact and double-click RenamePro.exe. No installer, no window — a tray icon appears.保持目录结构完整,双击 RenamePro.exe。免安装、无窗口,通知区出现托盘图标。

  3. Rename an extension.改一个后缀试试。

    In Explorer, rename photo.jpg to photo.png. Conversion starts on its own.在资源管理器里把 photo.jpg 改成 photo.png,转换自动开始。

  4. Use the tray menu.托盘菜单。

    Pause / resume watching, start with Windows, reload config, exit.暂停监听 / 继续监听、开机自启动、重新加载配置、退出。

02 Build from source从源码构建 .NET 8 SDK · Windows 10 / 11 x64.NET 8 SDK · Windows 10 / 11 x64
  1. Clone the repository.克隆仓库。

    git clone https://github.com/Ha2eS1onn/RenamePro.git

  2. Add FFmpeg (optional).放入 FFmpeg(可选)。

    Put ffmpeg.exe and ffprobe.exe into the ffmpeg\ folder for audio/video support. Image conversion works without them.把 ffmpeg.exe 与 ffprobe.exe 放入 ffmpeg\ 目录以启用音视频功能;没有它们图片转换照常工作。

  3. Build.构建。

    dotnet build RenamePro.csproj -c Debug

  4. Package a portable zip.打包便携发布包。

    powershell -ExecutionPolicy Bypass -File publish.ps1

03 config.json essentialsconfig.json 配置要点 Edited with Notepad · reload from the tray menu记事本即可修改 · 托盘菜单重新加载生效
enableBackup = true
Keep an original-format copy before converting. Recommended.转换前是否创建原格式副本,建议保持开启。
autoRollbackOnFailure = false
On failure, delete the target and move the copy back to the original name.转换失败时自动回滚:删除目标文件并把副本移回原名。
imageQuality = 92
JPEG output quality, 1–100. Only affects conversions into jpg.JPEG 输出质量 1~100,仅对转出 jpg 生效。
gifPolicy = "first-frame"
GIF source handling: take the first frame, or skip.GIF 源策略:取首帧转换,或直接忽略。
watchDrives = []
Limit watched drives, e.g. ["D:\\", "E:\\"]. Empty means all fixed drives.限定监听盘符,例如 ["D:\\", "E:\\"];留空表示监听所有固定磁盘。
showProgressDialog = true
Set false for fully silent conversion — the Shell COM dialog is never initialized.设为 false 时完全不初始化 Shell COM,静默转换。

FAQ常见问题

Good to know.
Still curious?
你可能
还想知道。

Which platforms are supported?支持哪些平台?

Windows 10 / 11 x64 only. RenamePro is built on Shell COM and WinRT components that exist only on Windows — the progress dialog, Toast notifications and Task Scheduler autostart all depend on them.仅支持 Windows 10 / 11 x64。RenamePro 依赖 Shell COM 与 WinRT 系统组件:进度对话框、Toast 通知、任务计划自启都建立在它们之上。

Can it corrupt my files?会把文件改坏吗?

It checks the magic number before converting and refuses when the real format doesn't match. Output goes to a temp file in the same directory and is swapped in atomically; on failure the target is left untouched.转换前先读文件头 magic number 校验真实格式,不一致直接跳过。输出先写同目录临时文件再原子替换;失败时目标文件保持原状,不留半成品。

Can I get the original back?能回退吗?

Yes. A copy of the original format stays next to the file (photo - copy.jpg, named to match your system language) and is never deleted automatically. Turn on autoRollbackOnFailure and failures restore the original name by themselves.可以。原格式副本会留在同目录(中文系统 photo - 副本.jpg,英文系统 photo - copy.jpg),程序永不自动删除;开启 autoRollbackOnFailure 后失败还会自动恢复原名。

Why is .ico ignored?为什么忽略 .ico?

Icon files are notoriously unstable across conversions, so any combination involving .ico is skipped silently and only logged. Everything else in the matrix converts normally.图标文件跨格式转换容易产生不稳定结果,因此涉及 .ico 的组合一律静默跳过、只记日志;矩阵内其他格式正常转换。

Will it slow down my PC?占用高吗?

Idle it sits at about 57MB working set (≈12MB private memory). Watching uses name-change notifications only, processing is debounced 300ms, queues are concurrency-limited, and Magick memory is capped at 512MB.空载工作集约 57MB(私有内存约 12MB)。监听只用文件名通知,300ms 防抖合并,队列限并发,Magick 内存上限 512MB,不会拖垮系统。

What's the license?开源许可是什么?

RenamePro is GPL-3.0. The repository ships full source; FFmpeg binaries are not included in the repo — when you distribute them, follow the license of the FFmpeg build you use and credit the project.RenamePro 以 GPL-3.0 发布,仓库包含全部源代码。仓库不含 FFmpeg 二进制;分发含 FFmpeg 的构建时,请遵守其对应许可并注明来源。

Download下载

Get RenamePro.下载 RenamePro。

Portable. Extract and double-click.绿色便携,解压即用。

Released on GitHub · GPL-3.0 · Windows 10 / 11 x64 发布于 GitHub · GPL-3.0 · Windows 10 / 11 x64

Full build完整版

Images and audio/video, all features. Bundles ffmpeg.exe / ffprobe.exe. Package: RenamePro-Full-*.zip图片 + 音视频功能齐全,内置 ffmpeg.exe / ffprobe.exe。包名:RenamePro-Full-*.zip

Download from GitHubGitHub 下载 Release notes版本说明

Image build图片版

Smallest download. Image conversion only; audio/video renames are logged and skipped. Package: RenamePro-Image-*.zip体积最小,仅图片转换;音视频改名只记日志跳过。包名:RenamePro-Image-*.zip

Download from GitHubGitHub 下载 More downloads更多下载
Browse the source and README on GitHub前往 GitHub 查看源码与完整文档

RenamePro is free software under GPL-3.0. Contributions and issue reports are welcome.RenamePro 是 GPL-3.0 下的自由软件,欢迎提交 Issue 与贡献代码。