Danbooru tags, explained
The short answer
Danbooru tags are short, lowercase labels joined with underscores. Examples are long_hair, smile and outdoors. Each one describes one thing that is visible in an image. Every tag belongs to one of five categories: general, artist, copyright, character or meta. Every image also gets one of four content ratings. WD14 auto-taggers were trained on this vocabulary, which is why their output looks like a list of booru tags rather than a sentence.
If you have trained a LoRA, used an anime-style Stable Diffusion checkpoint or run an auto-tagger, you have already met Danbooru tags. They look strange at first: 1girl, looking_at_viewer, upper_body. They follow a small set of rules, though, and once you know those rules, tagger output becomes much easier to read, prune and trust.
This guide covers the parts of the system that matter when you are tagging your own images: what a tag is, the categories, the ratings, the naming conventions, and the habits that make booru tags work so well as training captions.
Where booru tags come from
"Booru" is the community's name for a family of image-board sites that organize images by tags instead of folders or captions. Danbooru is the best-known one. It has been running since 2005, and as of October 2026 it hosts over 12 million posts. Every post is tagged by volunteers following a written set of guidelines. Over many years that has produced a large, consistent and openly searchable label vocabulary.
That consistency is why machine-learning projects adopted it. The WD14 tagger models that ImgTagger runs were trained to predict Danbooru tags from pixels. Many anime-focused image generators were trained on images captioned with the same tags. When a model "speaks booru", it is because booru tags are what it saw during training.
Anatomy of a tag
A Danbooru tag is a single token with no spaces. The conventions are simple and strict:
- Lowercase only.
blue_eyes, neverBlue_Eyes. - Underscores instead of spaces. On the site, the space character separates one tag from the next, so multi-word concepts are joined:
looking_at_viewer. - Parenthetical qualifiers tell apart names that would otherwise collide:
star_(sky)versusstar_(symbol), or a series name for characters, as inganyu_(genshin_impact). In the tag list ImgTagger's default model uses, 1,594 of the 10,861 tags contain a qualifier of this form. - Japanese name order (family name first) for Japanese characters and people, e.g.
hakurei_reimu. - Numbers for counts.
1girl,2girls,1boyand so on describe how many characters are visible.
Booru sites need underscores because a space separates one tag from the next. Training captions are different: tags are separated by commas, so spaces inside a tag are fine. ImgTagger writes long hair with a space for exactly that reason. Both forms are common. Pick one and use it for the whole dataset. Our guide to caption .txt files covers this in more detail.
Danbooru's help page on tags also sets hard limits: a name cannot begin or end with an underscore or hold two in a row, and it can never contain a comma (our guide to boorus lists the other forbidden characters). The comma rule is the useful one for you. Because no tag can contain a comma, a comma-separated caption can always be split back into its tags without guessing.
Naming patterns worth knowing
Beyond the basic format, a handful of naming patterns repeat across thousands of tags. Once you spot them, you can guess what an unfamiliar tag means and which tag a picture should get. The counts below are from the 8,106 general tags in the default model's list.
| Pattern | What it says | Tags in the list | Example |
|---|---|---|---|
color_item | The color comes first, then the thing | 96 start with white_, 95 with black_ | white_shirt, red_bow |
holding_* | Something in a character's hand | 174 | holding_cup, holding_umbrella |
*_own_* | A character touching their own body | 46 | hand_on_own_hip, hand_on_own_chest |
*_another's_* | A character touching someone else | 44 | hand_on_another's_head, hand_on_another's_shoulder |
unworn_* | Clothing that is shown but not being worn | 30 | unworn_hat, unworn_shoes |
*_print | A pattern printed on fabric | 48 | floral_print, star_print |
*_(medium), *_(object), *_(symbol) | Which sense of a word is meant | 18, 17 and 5 | watercolor_(medium), poster_(object), star_(symbol) |
The own/another's split is the one people trip over. hand_on_own_hip is a pose. hand_on_another's_shoulder describes two characters. When you hand-tag, pick the form that matches who is touching whom, because a model trained on a mix can blur the two ideas together. The bracketed qualifiers need the same care: poster_(object) is a poster shown inside the picture, such as one pinned to a bedroom wall, and watercolor_(medium) says how the picture itself was painted.
The five tag categories
Every Danbooru tag belongs to exactly one category. The category tells you what kind of fact the tag records. You will lean on that when you decide which tags to keep in a training caption.
| Category | What it records | Examples |
|---|---|---|
| General | Anything visible: people, clothing, objects, poses, composition, setting, colors | smile red_scarf from_side tree |
| Character | A specific named character | hatsune_miku hakurei_reimu |
| Copyright | The series, game or franchise a work belongs to | vocaloid touhou |
| Artist | Who drew the image | (an artist's name) |
| Meta | Facts about the file or post rather than its content | highres absurdres commentary_request |
General tags are by far the largest group. They are also the only category a vision model can reliably learn from pixels alone. A model can see a smile. It cannot see who drew the picture, and it can only guess resolution from a resized copy. This shows in the WD14 tag lists. The three 2024 v3 taggers all predict the same 8,106 general tags and 2,751 character tags (the 2023 v2 ones share 6,947 and 2,132). None of them output artist, copyright or meta tags. That is why tags such as highres and absurdres never appear in ImgTagger results, even on huge images.
On Danbooru itself each category has its own color in the tag list beside a post (our guide to boorus shows which). A new tag is general unless whoever creates it adds a prefix such as artist:, char: or copy:. Moving a big tag to another category later usually goes through a request on the forum.
The four content ratings
Separately from tags, every Danbooru post carries one rating. Since 2022 there have been four:
- general: safe for any audience.
- sensitive: suggestive or mildly revealing, but not explicit.
- questionable: clearly not safe for work, but not explicit.
- explicit: explicit content.
Older documentation and older models mention a three-level "safe / questionable / explicit" scheme. The four-level scheme replaced it by splitting the old "safe" into general and sensitive.
WD14 taggers treat the ratings as four extra outputs, alongside the tags, in a category of their own. In ImgTagger they appear in the tag list like any other tag, so an image may come back with general at the front of its tags. Many people keep the rating tag in training captions so they can steer it at generation time. Others delete it. If you don't want it, add general, sensitive, questionable, explicit to the tagger's blacklist and it will never be written.
On Danbooru the rating is a field of the post rather than a tag, so it is written as a metatag: rating:g, rating:s, rating:q or rating:e. The same short forms work in search and in the tag box when you upload. Our Danbooru tagger follows that convention: it picks the rating with the highest of the four scores and writes it as the first word, rating:g, instead of a bare general. The one-picture taggers also show that rating under the picture, with its score, so you can see how close a call it was before you copy it.
Counting tags and the "solo" family
One of the most useful booru conventions is how it records the number of characters. The pattern is:
1girl,2girls,3girls… and1boy,2boys… record exact counts by apparent gender.1otherexists for characters who don't fit either.multiple_girlsandmultiple_boysmean two or more.2girlsautomatically impliesmultiple_girls.solomeans exactly one character is in the image.no_humansmeans none, as in landscapes, still lifes and animal-only pictures.
These are some of the most common tags in the whole vocabulary. When the WD14 v3 tag list was built, 1girl was on 5,113,288 Danbooru posts and solo on 4,253,220. Because they are so frequent, models learn them very well. They are also strong levers in a training caption, so make sure they are right. A dataset where half the "solo" images actually show two people teaches the model the wrong thing.
Who counts as a character
The wiki pages for 1girl and solo spell out the edge cases. Only living characters who are visibly present count. A figure, a doll, a poster or a painting of another character on the wall does not, and neither does someone who is only implied off screen. The tricky part is the reverse: one character drawn twice is not solo.
| What the picture shows | Count tags Danbooru expects |
|---|---|
| One girl holding a doll, a poster of another character behind her | 1girl, solo |
| The same girl shown front and back on one sheet | 1girl, multiple_views, no solo |
| One detailed girl among a crowd of sketchy background people | 1girl, solo_focus |
| A character whose gender can't be told, such as a hooded figure seen from behind | 1other |
| Eight girls posing together | 6+girls, multiple_girls |
The count tags stop at five. Six or more of any group share the 6+girls, 6+boys or 6+others bucket. Reference sheets are the case to watch in your own datasets: a solo you add by hand to a sheet that already has multiple_views contradicts it, so check those images before training.
Aliases and implications
Two mechanisms keep the vocabulary tidy, and both help you prune tags.
Aliases map an alternative spelling to the official tag. Someone typing grayscale on Danbooru gets greyscale. Aliased tags don't exist as separate labels, so a tagger never outputs a name that was already an alias when its list was built.
Implications say that one tag automatically adds another. Some real examples from Danbooru:
very_long_hair→long_haircat_ears→animal_ears2girls→multiple_girls
Implications explain a pattern you will see constantly in tagger output: pairs of tags where one is a more specific version of the other. Whether to keep both is a judgement call. Some trainers drop the general parent tag to keep captions short. Others keep both because that is how the base model saw them during training. Our tag pruning guide walks through the trade-offs.
How names have shifted since 2024
Aliases, implications and retirements are proposed and approved in public on Danbooru's forum (our guide to boorus explains that process). The default model's list was frozen in February 2024, so its names show where the vocabulary stood then. Comparing it with Danbooru's alias table on October 23, 2026 shows that many renames apply the conventions above more strictly:
- Missing things got their own word.
no_headwear,no_legwear,no_tailandno_wingsare nowmissing_headwearand so on. - Who does what to whom got explicit.
arm_around_waistbecamearm_around_another's_waist,sleeve_grabbecamegrabbing_another's_sleeve, andholding_jacketbecameholding_unworn_jacket. - "Incoming" became "viewer".
incoming_hugis nowhugging_viewer, and the same happened to three similar tags. - Character variants moved out of brackets. Seven male and female Fire Emblem variants in the list changed form, so
byleth_(female)_(fire_emblem)is nowfemale_byleth_(fire_emblem). - Series qualifiers got shorter. Fourteen League of Legends tags went from
_(league_of_legends)to_(league).
For your own training captions, the old spellings work as well as the new ones as long as you use one set throughout. The new names matter when you paste tags into a booru, or when a search on one redirects you somewhere unexpected. Our WD14 tag list guide counts every renamed and retired tag in the list.
"Tag what you see"
Tag what you see, not what you know.
That one line is the most important rule in Danbooru's tagging guidelines, and people usually shorten it to "tag what you see". Tags describe what is visible in the image. What you happen to know about the character stays out. If a character normally has a hat but isn't wearing it in this picture, there is no hat tag. If a scene is set at night but the image doesn't show it, there is no night tag.
This rule is a big part of why booru tags make good training data. Each tag is a claim about the pixels, so a model can actually learn the link between the label and what it looks like. Keep the rule in mind when you hand-edit captions too. Adding tags for things that aren't visible, such as a story detail or a character's backstory, quietly teaches your model associations that aren't there.
Danbooru's tagging checklist, level by level
Danbooru's tag checklist sorts tags into levels, from the essentials every upload needs to details only a specialist would add. It expects every upload to be tagged to at least Level 1. Lining the levels up against the WD14 vocabulary shows where a tagger does the work for you and where a person still has to step in.
| Level | What it covers | Can a WD14 tagger write it? |
|---|---|---|
| 0: basic identification | Artist, copyright, character, source, rating, character counts, framing, viewpoint, posture, hair, clothing | Mostly. Rating, counts, framing (upper_body, wide_shot), viewpoint (from_above, pov), posture and clothing are all in the list, and popular characters too. Artist, copyright and source are not. |
| 0, information | Request tags such as character_request, plus translated and commentary | No. These describe the post, and none is in the list. |
| 1: composition and foreground | Gestures, held objects, groupings such as couple, accessories, monochrome, no_humans | Yes, nearly all of it. |
| 2: background and errors | Background type, location, time of day, weather, drawing errors such as bad_hands | Yes for scene tags like beach, night and snowing. The error tags are in the list but rare, from 2,579 posts for bad_hands. |
| 3: artistic details | Traditional media, technique, text and languages, year tags | Partly: traditional_media, marker_(medium), english_text and year tags from 2007 to 2024 are in, pixel_art and 3d are not. |
| 4: microscopic details | Tiny background characters, partly visible characters | Rarely. Every picture is shrunk to 448 pixels first, so tiny details are lost. |
A tagger covers the visual levels well and the bookkeeping not at all. For a training caption that is the right split, because file facts and request tags tell a model nothing about the pixels. If you are preparing a real booru upload, the tagger gives you a strong start on Level 0 to 2, and you add the artist, the series and the source yourself.
Reading auto-tagger output with these rules in mind
Put it together and a typical tagger result becomes easy to read. Say an image comes back from ImgTagger with:
general, 1girl, solo, long hair, smile, looking at viewer, upper body, scarf, outdoors, snow, blurry background
You can now read this as:
- a rating (
general); - a count (
1girl,solo); - appearance (
long hair,smile); - composition (
looking at viewer,upper body); - clothing (
scarf); - setting (
outdoors,snow,blurry background).
ImgTagger orders new tags by confidence, so the most certain predictions come first. That makes it easy to scan for errors near the end of the list, where the weaker guesses sit. The confidence threshold guide explains how to set the cut-off.
One result, three ways to write it
The same predictions can be written out in three formats, and each destination expects its own. Take a picture of Ganyu from Genshin Impact standing outdoors in a red scarf. Her tag carries a qualifier, which is where the formats differ most.
As a training caption, the way the batch tagger writes a .txt file: commas between tags, spaces inside them, brackets left alone. (The batch tagger sorts by confidence, so in a real file the character may sit further down. The one-picture taggers always put characters first.)
ganyu (genshin impact), 1girl, solo, long hair, horns, red scarf, outdoors
As a prompt, the way the anime tagger writes it by default: the same, but with the brackets escaped.
ganyu \(genshin impact\), 1girl, solo, long hair, horns, red scarf, outdoors
As a Danbooru upload, the way the Danbooru tagger writes it: the rating first as a metatag, underscores kept, spaces between tags.
rating:g ganyu_(genshin_impact) 1girl solo long_hair horns red_scarf outdoors
The escaping exists because of how some image generators read prompts. The AUTOMATIC1111 web UI documentation says round brackets increase the model's attention to the words inside them, by a factor of 1.1, and that \(word\) is how you type literal brackets. Paste an unescaped character tag into such a prompt and the series name becomes an emphasis instruction instead of part of the name. Training captions have no such syntax, so the batch tagger writes plain brackets.
When a tag doesn't behave as expected
| What you see | Likely cause | What to do |
|---|---|---|
| Searching Danbooru for a tag from your caption lands on a different tag | The tag was aliased after the model's list was built | Nothing, for search. For an upload, use the new name, or let the Danbooru tagger swap it. |
Danbooru won't let you add a tag the model wrote, such as black_footwear | The tag is deprecated | Open its wiki page, which lists the tags to use instead. |
| A character tag pasted into a prompt doesn't give the character you expect | Unescaped brackets in a prompt were read as emphasis | Escape them as \( and \), or copy from the anime tagger. |
Your captions hold both long_hair and long hair | Files from two tools with different separators were mixed | Pick one form and replace the other across the dataset. |
A picture of one person is tagged 2girls | Often a poster, a doll or a second view of the same character | Check the picture against the counting rules above, then fix the count by hand. |
| An artist or series tag is missing from every caption | The models never output artist or copyright tags | Add them with the Add Tags panel, or the Prepend box, if you want them. |
Where booru tags fall short
Booru tags are excellent for describing what is in an image. They are weak at describing relationships. 1girl, 1boy, red_shirt, blue_shirt doesn't say who is wearing which shirt. Tags also can't capture mood, story or exact spatial layout the way a sentence can. And because the vocabulary grew up around anime-style illustration, it has deep coverage of hairstyles and outfits but thinner coverage of, say, product photography or architecture.
That is why many modern pipelines mix tags with natural-language captions, or use one for some models and the other for others. If you are deciding between the two, read booru tags vs natural-language captions. If you want to see which everyday tags are the most useful in practice, the booru tag glossary groups the common ones by what they describe.
Get Danbooru-format tags for an image, with post counts, current tag names and a rating tag, ready to paste into an upload. It runs in your browser. Open the Danbooru Tagger.
Frequently asked questions
Do Danbooru tags ever change?
Yes. Tags get renamed through aliases, and some are retired. hair_cubes was aliased to cube_hair_ornament in 2022, and the plain bangs tag is no longer used because it would apply to almost every post. A tagger's vocabulary is frozen when its tag list is built, so it can still output retired tags and won't know newer ones. Our WD14 tag list guide counts the renamed and retired tags in the current list and shows what changed from the 2023 one, such as hand_on_hip becoming hand_on_own_hip.
What is the difference between "general" and "sensitive"?
Both were part of the old "safe" rating. Danbooru split it in 2022: general is suitable for everyone, while sensitive covers mildly suggestive images that are still not explicit.
Can a WD14 tagger detect the artist or the series?
No. The WD taggers only output rating, general and character tags. Characters are often strongly tied to one series, so you can usually work out the copyright from the character tag, but the model never outputs copyright or artist tags itself.
What does "solo" mean if there is also an animal in the picture?
solo counts characters, which usually means people or humanoid characters. An ordinary animal in the background doesn't change it. An image with no characters at all is tagged no_humans instead.
Why is there a male_focus tag but no female_focus?
Most Danbooru posts feature female characters, so a tag marking female focus would apply to most of the site. Danbooru's tag checklist calls male_focus a special tag for that reason and says female_focus is to be left unused, and its help page on tags lists it as deprecated. In the WD14 list, male_focus had 516,211 posts and there is no female counterpart.