Bulk Renaming Items in Illustrator

Ai Toolbox lets you rename multiple elements at once. This includes artboards, paths, layers, symbols, gradients, spot colors, swatches and patterns. You can rename all the elements or just the selected ones. So select what you want to rename if needed, then click Edit → Rename Everything in Illustrator’s main menu.

Ai Toolbox “Rename Everything” window will pop up:

Rename Everything window of Ai Toolbox

From top to bottom you see:

At the bottom there is a list of items to be renamed. On the left you see the old names, on the right — the new names after applying all the rules.

Finally, at the very bottom there is a Rename only selected items checkbox. If enabled, Ai Toolbox will only rename the items you select in the list. Not in Illustrator, but in the list of Ai Toolbox. This lets you fine–tune the items for renaming.

Filtering Items

Here I switched the Rename selector to All Paths and the list displays all the path names of the currently opened document. It is an Origami project with a dieline and say I want to rename all the unnamed paths:

Renaming unnamed paths with Ai Toolbox

In order to rename just them, we need to filter them out first. Let’s type “<Path>” into the filter field and see what happens:

Filtering paths for renaming in Ai Toolbox

As soon as you start typing, the list at the bottom of the window becomes shorter and only contains the items with the text you typed. This way you can easily shorten the list of items to rename, so you can hand–pick the right ones later.

See below for renaming itself.

Replacing Text

Let’s continue with the unnamed paths we started and try changing their names somehow. Type Path in the Replace text field and type Hello in the with text field. Then see what happens with the list:

Replacing text in items names for renaming in Ai Toolbox

The plugin finds all the names with “Path” and replaces it with “Hello”. Note that the search is case–sensitive, so if you type “path” instead of “Path” nothing will be changed.

If the name does not contain the source text, it will be left intact. If the Replace text is empty, no replacing will happen even if the with text field is not empty.

The renaming itself is described below.

Name Template

The last field is called Name template and it is the main field of the renaming tool of Ai Toolbox. Basically, if you put any text there, all the items will be named like that. Try it yourself with the unnamed paths we used above:

Using name template for renaming in Ai Toolbox

As soon as you type something in the Name template field, the right side of the list is changed to what you typed. All the source and replaced texts are ignored. Sometimes this is exactly what is needed, but not all the time, so there are some other options.

Name Template — Numbering

Try typing “test-xxx {#}” in the Name template field and see what happens:

Automatic numbering of elements in Ai Toolbox

Ai Toolbox replaces all the “{#}” with auto–incrementing number, so you can get unique names for all the renamed elements.

If you have more than 10 elements (or more than 100) you might want adding extra zeroes at the beginning, so you get “Item 09”, “Item 10” instead of “Item 9”, “Item 10”. To do so simply use “{##}” for 2–digit numbers, or “{###}” for 3–digit numbers and so on:

Making two-digit numbers for automatic renaming in Ai Toolbox

You can put the numbers in front or in the middle of the name like this: “{#} hello”, “new {##} name”.

Name Template — Source Name

Finally, you can use the original name in the template by using “{name}” element. Try changing the name template to “Hello {name} {##}”:

Using source element name as a part of the new name in Ai Toolbox

Every time Ai Toolbox meets the “{name}” placeholder in the template, it replaces it with the original name processed with “Replace text with” fields, if any. That’s why the default name template is always “{name}”, so it simply passes the current name on.

You can make complex name templates by combining your text and both name and number placeholders like this: “{##} {name} reviewed”, “{name} vs {name} {#} by John” etc.

Rename Selected

The checkbox at the bottom lets you pick the items for renaming. If you check that box and then click the item in the list, the result might be surprizing:

Renaming just one item in Ai Toolbox

As the checkbox says, Ai Toolbox only renamed the items you selected. As you selected just one item, only that item has been renamed. Note that it has nothing with your current Illustrator selection, it is just about the items selected in the list of the Ai Toolbox renaming window.

It is not worth renaming just one item with the plugin, so you can select multiple items by holding Control/Command and Shift keys as you do with all the other lists in other applications:

Renaming multiple items in Ai Toolbox

Note that the numbering is done only for the items you select for renaming.


Once done, simply click Commit to perform the renaming. Simple :)

More Ai Toolbox Tutorials


Conical Labels

Color Bars

Text Operations

Renaming and Selection

Adobe and Adobe Illustrator are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.