Search Syntax Guide

Dexbooru supports a powerful search syntax that allows you to filter posts by various properties, including tags, artists, uploader, statistics, and more. This guide will help you construct precise queries.

Basic Search

The most common way to search is by using tags and artist names. Simply type them separated by spaces.

naruto goku

Finds posts that contain both the tag "naruto" AND "goku".

Advanced Filters (Prefixes)

You can filter by specific properties using the prefix:value syntax.

Prefix Description Example
uploader Filter by the user who uploaded the post (username or UUID). uploader:admin
views Filter by view count. views:>1000
likes Filter by like count. likes:>=50
moderationStatus Filter by status (PENDING, APPROVED, REJECTED). moderationStatus:APPROVED
sourceLink Filter by the exact source URL. sourceLink:https://example.com/image.png
sourceTitle Filter by the title of the source material (e.g., anime, game). sourceTitle:Naruto
characterName Filter by a specific character name associated with the source. characterName:Sasuke
id Filter by the exact Post UUID. id:123e4567-e89b-12d3-a456-426614174000
createdAt Filter by creation date (YYYY-MM-DD). createdAt:>2023-01-01

Operators

Operators allow you to refine your search, especially for numerical values and dates.

  • = : Equal to (default for strings)
  • != : Not equal to
  • > : Greater than
  • < : Less than
  • >= : Greater than or equal to
  • <= : Less than or equal to

Negation

You can exclude results by prepending a minus sign (-) to any tag, artist, or prefix filter.

-tag_name

Excludes posts with "tag_name"

-uploader:banned_user

Excludes posts uploaded by "banned_user"

-sourceTitle:Bleach

Excludes posts from the source "Bleach"

Complex Query Examples

Combine multiple filters to find exactly what you want.

landscape -portrait views:>5000

Finds posts tagged "landscape" but NOT "portrait" that have more than 5000 views.

uploader:tanny sourceTitle:Pokemon likes:>=100

Finds Pokemon posts uploaded by "tanny" with 100 or more likes.

characterName:Luffy -sourceTitle:One_Piece

Finds posts with character "Luffy" that are NOT tagged with source title "One_Piece" (useful for crossovers).