Manage Labels
Use this script to rename, add, and remove page labels in bulk.
CAUTION: Labels can't contain spaces or uppercase letters. If you want a label to contain more than one word, use an underscore or a hyphen, which are the only two special characters allowed. They can contain a maximum of 255 characters.
Run the script
There are three ways to run this script, outlined in the following tasks:
Adding Labels
The labels that were added appear on the Result list:
Removing Labels
The removed labels appear in the Result list:
Renaming Labels
The pages that have labels that were renamed appear in the Result list: