Skip to content

Searching

abUwUser edited this page May 14, 2024 · 6 revisions

On LocalBooru, sometimes you want to do some operations with tags, such as excluding a certain tag, wanting to search more than one topic, checking an image's sources, and so on.

Modifiers

There are modifiers that can make your search more specific:

1boy chibi white_hair - Search for images that contain both 1boy, chibi and white_hair tags
1boy -chibi white_hair - Search for images that contain both 1boy and white_hair tags, but not chibi
1boy +chibi white_hair - Search for images that contain both 1boy and white_hair tags, but also search for images that contain chibi, meaning it won't exclude search results that contain chibi but will exclude those who doesn't have 1boy or white_hair

Metatags

Sometimes you want to search more precise features about the image, such as rating, the image ID or source, for example.

The common syntax for those is selector:value, and they can work with modifiers

Selector Description Accepted values Examples Notes
rating Checks the rating of an image none, safe or s, questionable or q, explicit or e, illegal or i 1boy rating:safe, chibi -rating:e -rating:i Check for Ratings for information on each type
id Searches for a specific ID range Range id:3, id:>5, id:3..10
type Searches for a file type Exact match of file extensions, Wildcard of MIME types, animated or static type:png type:gif type:image/* type:static type:animated animated and static are different from image/* or video/* because animated can search for both GIFs and videos while video/* only searches for video files, and static excludes GIFs while image/* doesn't
file Searches for a file name Wildcard file:image_*
source Searches for images with a specific source none or Wildcard of the host URL chibi source:none source:twitter.com +source:x.com source:*discord.com Searching for a full URL won't work, a.k.a. source:https://twitter.com/ShiroinuHasaki/* will not give any results

Range

Range is a type of value where it can search for a range of values, or only one value.

id:3 - Includes only element of id 3
id:3..10 - Includes only elements between 3 and 10, including 3 and 10
id:>3 - Includes only elements below 3, excluding 3
id:>3 +id:3 - Includes only elements below 3, including 3
id:<3 - Includes only elements above 3, excluding 3

Wildcard

Wildcard is a type of value where it can search any character after a specific value. ? includes every character at a position

source:discord.com - Includes every image with any sources with its host being discord.com
source:discor?.??? - Includes every image with any sources with its host starting with discor, having a dot at the 8th character and with it ending with 3 characters
source:*dis*com - Includes every image with any sources containing dis and com, with any character in between those two, and also including any character before dis
source:discord* - Includes every image with any sources starting with discord, with any ending

Clone this wiki locally