Apps Script script for renaming

The script that renames in your own Google Drive, without us accessing anything

We give you a Google Apps Script script with your mapping already embedded: you paste it into your account, run it yourself, and the first time it only shows you what it would do.

The problem with renaming in Google Drive isn't deciding the new names; it's applying them without handing over the keys to your folders to anyone.

Once you have the «current name → new name» mapping table for the renamer, this function converts it into a Google Apps Script script with the name pairs written inside. It's not a generic template you have to fill out: it's your mapping, ready to paste.

The script runs INSIDE your Google account, in your own Apps Script project. We don't request OAuth, we don't have your Google Drive token, and none of our servers touch your files: you authorize your own script and you run it. That's why it works even if your company doesn't allow installing third-party applications.

It comes with test mode activated by default (DRY_RUN = true in the first editable line): the first run renames nothing, it only writes to the log what it would do file by file. When the log satisfies you, you set DRY_RUN = false and run it again.

Before touching each file, it checks that it's still named as expected. If someone has already renamed it, moved it, or it's not in that folder, it marks it as «not found» instead of renaming blindly. It works in batches of 200 files, saving its progress, so if Apps Script times out, you just run it again to continue where it left off. Finally, it prints the count: renamed, unchanged, and not found.

No sign-up

Try Apps Script script for renaming right here

Loading the tool…

Use it free without an account. If you want to save your result, you can sign up afterwards.

Save / Sign up

Benefits of Apps Script script for renaming

Zero OAuth, zero tokens

we never ask for access to your Google Drive. The script lives in your account, you authorize it, and our servers never see, open, or save any of your files.

Test mode activated by default

the DRY_RUN variable comes as true, so the first run only logs what it would do. Renaming for real is a conscious decision, not an accident.

Pre-check before you touch

each file is searched by its current name within the folder you specify. If it’s no longer named that, it’s skipped and noted as «not found»; the wrong file is never renamed.

Resumable batches of 200 files

the script saves its progress in your project’s properties. If Apps Script times out, you launch it again and it continues; and there’s a function to restart the batch from scratch.

Final report in the log

renamed, unchanged, and not found, with the «TEST MODE» label clearly visible until you’ve deactivated DRY_RUN. You know exactly what happened before closing the tab.

Large batches automatically split

if your mapping exceeds 400 pairs, we split it into several numbered scripts with their «Copy part 2», «part 3»… buttons so Apps Script doesn’t choke when pasting.

Designed to start on mobile and finish on desktop

«Copy the script» and «Send it to my computer» (share via email, chat, or notes; if your browser doesn’t share, it copies to the clipboard) at the same level, and a direct link to script.new.

Ventaja 8

Four steps with a checkbox that stays marked for the duration of the session and a collapsible section with the four foreseeable issues —the «unverified app» warning, company domains that block Apps Script, mid-run timeouts, and missing files— resolved before they happen to you.

Your renaming, executed by you, in your account

Paste your names, review the mapping, and get the script. Without signing up, you can do 300 names; with a free account, up to 1,000 per batch and your batches saved.

In the features that use AI, responses are generated by artificial intelligence and are not a substitute for professional advice.