Close

Help: Mass Tag Edit

Note: this function is only available to moderators.

Mass tag edit allows you to make sweeping changes to posts. It allows you to add tags, remove tags, or change tags to potentially thousands of posts at once. It is an extremely powerful feature that should be used with great caution.

There are two text fields and two buttons. The first text field is where you enter your tag query. The tag parser is identical to the one used for the main listing so any tag query that works there will work here. This includes all the meta-tags like source, id, user, and date. The second text field is where you enter the tags you want to tag the matching posts with.

Click on the Preview button to see what posts will be affected. This is based solely on the first text field. When you click on Save, this is what happens: Danbooru finds all the posts that match the query you entered in the first text field. Then, for each post, it removes any tag from the first text field, and adds all the tags from the second text field.

Here is a table explaining some of the things that you can do:

Tag Query Add Tags Effect
apple banana Change every instance of the apple tag to banana.
apple Delete every instance of the apple tag.
apple orange apple Find every post that has both the apple tag and the orange tag and delete the orange tag.
source:orchard apple Find every post with orchard as the source and add the apple tag.
id:10..20 -apple apple Find posts with id numbers between 10 and 20 that don't have the apple tag, and tag them with apple.