Search syntax
The search box understands a small query language. Plain words match the card name; add a qualifier such as a:Walker to search a different field. This page lists every feature - combine as many as you like.
Field qualifiers
Write field:value. Every field has short aliases; any of them work:
- Name -
name:, n: (or no qualifier at all). Partial match. e.g. n:bolt - Type -
type:, t:. Partial match on the type line. e.g. t:instant - Rules text -
text:, o:, oracle:. Partial match on the Oracle text. e.g. o:"draw a card" - Set / edition -
set:, e:, s:, edition:. Partial match. e.g. e:dominaria - Artist -
artist:, a:. Partial match. e.g. a:Walker - Rarity -
rarity:, r:. Exact match: common, uncommon, rare, mythic. e.g. r:rare - Colour -
color:, colour:, colors:, c:. Matches the colour letters W, U, B, R, G. e.g. c:r - Mana value -
cmc:, mv:, manavalue:. A number; accepts comparators (below). e.g. mv:2 - Power -
power:, pow:. A number; accepts comparators. e.g. pow>=4 - Toughness -
toughness:, tou:. A number; accepts comparators. e.g. tou<2 - Language -
language:, lang:, l:. Exact match. e.g. l:japanese
Comparators (numeric fields)
Mana value, power and toughness accept a comparator in place of the colon:
cmc>3 - greater thancmc<3 - less thancmc>=3 - at leastcmc<=3 - at mostcmc:3 or cmc=3 - exactly
Phrases & quoting
- Wrap a multi-word value in double quotes:
a:"Rebecca Guay", o:"draw a card". Without quotes only the first word attaches to the qualifier and the rest becomes a name search. - Quote a bare phrase to match a name literally:
"lightning bolt". - Field names are case-insensitive -
T:Instant is the same as t:instant.
Excluding terms
Put a minus sign in front of any term to exclude it:
-t:land - not lands-c:r - not red-bolt - name does not contain "bolt"
Combining terms
- AND is implied - a space between terms means all of them must match:
t:creature c:g cmc<=2. - OR - put
OR (or lowercase or) between two terms for alternatives: t:instant OR t:sorcery. OR joins only the terms on either side of it; the rest stay AND. So bolt OR shock t:red means (bolt OR shock) and t:red.- There is no
AND keyword (a space already means AND) and no parentheses.
Putting it together
c:r t:instant cmc<=3 -o:token a:Walker finds red instants of mana value 3 or less whose rules text doesn’t mention "token", drawn by an artist named Walker.
Every field above is also available as a labelled box on the Advanced search page if you’d rather not type the syntax.