How to Bulk Rename, Prefix and Move GTM Tags to Folders
You inherit a container with 80 tags, no naming convention, and not a single folder. In the GTM UI, fixing that means opening each tag, one at a time. There's a faster way.
What GTM's native editing won't do
- Rename means opening every tag, editing, saving — times 80.
- There's no find-and-replace across tag names.
- There's no bulk prefix or suffix to apply a convention like
GA4 -. - Moving to folders is a manual multi-select, and you can't create-and-assign in one move.
First, decide on a naming convention
Before bulk-editing, pick a pattern. A reliable one is Type - Purpose - Detail, e.g. GA4 - Event - purchase or Conversion - Google Ads - Lead. Consistent names make everything below — searching, filtering, folders — actually useful.
Bulk-editing with GTM Tag Helper
In the extension's Bulk Actions tab:
- Select the workspace.
- Select the tags — filter by name or by tag type, or select all.
- Choose an action:
- Find & replace in names (e.g.,
GA→GA4 -) - Add a prefix (e.g.,
[Conversion]) - Add a suffix (e.g.,
_v2) - Move to a folder — pick an existing one or type a new name to create it on the fly
- Find & replace in names (e.g.,
- Apply to all selected tags in one pass.
A few tips
- Filter by tag type first to, say, prefix every GA4 tag at once.
- Move-to-folder creates the folder if you enter a name that doesn't exist yet.
- Writes are paced to stay within the GTM API quota, so large batches don't fail halfway.
Bulk Actions is a Pro feature — currently 60% off.
Get GTM Tag Helper Pro