Skip to main content

Search

Search the Pali Canon and its translations by a word, a phrase or a regular expression. Plenty of filters and settings narrow it down — where to search, which languages, how much context around each quote — and the Words view gives a report on every word form that was found. Try it live below (this is the real search page):

Toolbar above the results​

Buttons above the search results table
  • Saṁvaṭṭo / Vivaṭṭo — yes, the labels are literally Pali ("collapsing" / "unfolding"; on a phone, an icon of two arrows) — expands or collapses the quoted lines in every row at once (same as Shift+Space).
  • Words — switches the table from a list of texts to a list of the matched words instead.
  • Show variants (eye icon) — shows or hides the variant readings of the other editions. Off by default: the variant lines, and the matches found only in them, are left out of the results and their counts.
  • 1/2 columns — toggles quotes between one wide column and Pali + translation side by side.
  • Dictionary (speech-bubble icon, Alt+A) — turns the click-to-look-up popup dictionary on/off.
  • Multi-select (Alt+J) — select several words or a whole sentence and it opens in the dictionary by itself (see Dictionary).
  • Compass — opens the Quick Window (favorites, history, subscriptions).
  • Read marks — adds a "read" checkbox column to every row. These marks belong to the current result set (this query + this scope), not to the sutta as a whole — rerun the same search later and you'll see the same marks, but that's a different thing from a sutta's overall reading progress.
  • Help — opens this very page.
  • Subscribe (bell icon, on the right) — sends you the texts found, one at a time, as a subscription; Configure → opens its settings.

Next to the number of results, a "variants" link shows up when the word you searched for has alternate spellings elsewhere in the texts.

Search covers the Mahāsaṅgīti text and the variant readings collated from the other editions: Sri Lankan (BJT), Burmese (VRI), Thai (Siam Rath) and the PTS (With variant readings in Quick Settings, on by default). A word read differently in another edition is found too, and with Show variants on the result shows the Mahāsaṅgīti line with the readings for it.

Basics​

Which languages search covers

Search runs against the Pali root text and against translations — usually several different translators per language (English and Russian by default, langs=en,ru). Which one it checks first depends on the script you type: Cyrillic (e.g. сострадание) searches Russian translations only; Latin script or diacritic Pali (kacchapa, karuṇā) is checked against the Pali text first, and only falls back to non-Russian translations (typically English) if nothing matched there.

Search by meaning. When an exact search finds nothing — for instance a question in your own words, why are the five aggregates not self — the suttas closest to it in meaning are shown instead, with the note No exact matches — guesses by meaning. They are guesses: check what you find against the suttas themselves. It covers the four Nikāyas, Snp, Ud, Iti and the Vinaya, in Pali, English and Russian.

Tip #1. You can type Pali in plain Latin letters, no diacritics required (kacchapa) — for an exact query, the special characters (ā ī ū ḍ ḷ ṁ ṇ ṅ ñ ṭ) are typed into the search box by the "Pāḷi diacritics" buttons in Quick Settings, and can be copied from the RegEx Cheat Sheet below.

Tip #2. Where to search. By default search covers the 4 Nikāyas (DN, MN, SN, AN) plus part of the Khuddaka Nikāya (Dhammapada, Udāna, Itivuttaka, Suttanipāta, Theragāthā, Therīgāthā). Change this from the Quick Settings panel (the sliders icon next to the search box) — that's also where you turn on the Vinaya and pick which other Khuddaka Nikāya books to include:

Quick Settings panel — choosing where to search

The same panel controls how many lines of context to show before/after a quote ("Context lines") — the same setting as the lb/la parameters in the API.

Tip #3. Too few results? Try the word's stem instead — drop the prefix or the ending.

Tip #4. Lean on Pali — it's the language the oldest Dhamma texts survive in; the Buddha didn't speak English or Russian, and any translation necessarily narrows or shifts meaning.

Tip #5. Pali search results come back in two tables: matching suttas/texts with quotes, and matches grouped by word. Use both. Other languages also build a by-word table, but it can be less reliable there.

Tip #6. Minimum query length is 3 characters; longer, more specific patterns give more precise results.

Tip #7. Pali often has several distinct words where English/Russian collapse to one (several Pali words for "snake", for instance, against one English word) — searching in Pali surfaces distinctions a translation erases.

Tip #8. If a query times out, try a longer or more specific pattern.

Jump straight to a sutta by id

Type a sutta id (e.g. dn22) instead of a search term and you'll land directly in the reader on that sutta, skipping search entirely. Works for DN, MN, SN, AN, the Khuddaka Nikāya books listed above, and the Vinaya.

The "Mr" column. Counts matches anywhere in the text (regardless of your search term) for the pattern seyyathāpi|adhivacan|ūpama|opama|opamma, ignoring adhivacanasamphass|adhivacanapath|ekarūp|tathārūpa|āmarūpa|\brūpa|evarūpa|\banopam|\battūpa|\bnillopa|opamaññ. Found a case that should be included or excluded? Open an issue on GitHub.

Working with results​

  • Click at the end of a Pali line (cursor turns from an arrow into a hand) — jump into the reader right at that line.
  • ✦ — an invisible link at the start and end of each quoted fragment, to open the reader at exactly that spot.
  • Tap a row and a Play button appears to read that quote aloud; Alt+R reads the results from the first quote, each text's name before its quotes.
  • The Filter field above the table filters the results already shown. It spells loosely: no diacritics, case, aspiration or doubled letters (tanha finds taṇhā, dama finds dhamma). The Advanced filter button next to it (sliders icon) does multi-condition filtering.
  • Export — download the results as TXT, PDF or MD (Markdown), handy for AI or analysis.
  • The Words button switches the table to results grouped by word instead of by sutta. With a pattern such as kacch.*a it lists the word forms found.
  • Several words. In Quick Settings (Alt+S), "Several words" chooses how words typed together are found: In a row, In a paragraph or in the Whole text (all the words, at any distance from each other).
  • Collections on the home screen are ready-made searches on one theme; "Show all" lists them.
  • Below the table: Main (the home screen), History (search history), Read (the table of contents), and a few standalone helper tools — Make List (build a list from arbitrary text), List Diff (compare two lists of links) and Sutta Diff (compare editions of a sutta), each on its own page. Visibility shows or hides table columns.
  • Sutta — the text's id (e.g. sn56.11, dn22, an10.46).
  • Title — the text's title.
  • Words — the matched words in the text.
  • Ct — number of matches in the text (with Show variants off, the matches found only in variant readings are not counted).
  • Mr — similes and metaphors in the text (see above).
  • Type — 4 Nikāyas (Dīgha/Majjhima/Saṁyutta/Aṅguttara), Khuddaka Nikāya (any KN book), or Vinaya (anything from the Vinaya). Hidden by default: turn it on under Visibility.
  • Quote — the quote containing the match, in the row's expanded part.
  • Links — Pi and En open the text on s.dhamma.gift (the BJT, CST and Thai editions with translations side by side); on the Russian page, Ru opens a Russian translation (Theravada.ru or tipitaka.theravada.su, when available). The sutta id itself opens the text in the Dhamma.Gift reader.

For edition abbreviations (ms, pts1ed, sya-all, mr, etc.), see the Edition Abbreviations page.

Hotkeys​

KeyAction
Alt+AToggle dictionary (clicking a word triggers DPD)
Alt+SOpen/close Quick Settings (the sliders icon next to the search box)
Alt+Shift+SOpen/close the full Settings page
Alt+TDark / light / auto theme
Alt+Space, Alt+ZResults: both languages → Pali only → translation only
Ctrl+Shift+F (Cmd+Shift+F on Mac)Find on page (site-wide, not just here) — also in the burger menu
Shift+SpaceCollapse/expand all search results
Alt+RRead the results aloud
/Put the cursor into the search field

Advanced​

Tip #1. Only works for Pali or English searches! To find a word within a specific sutta/saṁyutta/nikāya: Sn17.*seyyathāpi returns every simile and metaphor in Sn17. For several patterns within a scope, quote it: "Sn51.*(seyyathāpi|adhivacan|ūpama|opama)".

Tip #2. Use [] for variants: nand[iī] matches both nandi and nandī.

Tip #3. Use \b to anchor a word boundary: \bkummo\b matches only kummo, not kummova or other longer matches.

Tip #4. Full GNU grep -E regex is supported (with proper escaping). An AI can generate a pattern for you — see the RegEx cheat sheet in the search box's settings for links.

Tip #5. Results are rendered with DataTables.

Tip #6. Collections. Quote a pattern to build a custom collection: "sn42.8|sn20.5" returns both full suttas in one table; "Sn20.1" returns Sn20.1, Sn20.10, Sn20.11, etc.; "Sn20.1\b" returns only Sn20.1.

RegEx Cheat Sheet — try it live​

an4.180:1.2  Cattārome, bhikkhave, mahāpadesā.
an4.180:1.3  Katame cattāro?
mn139:3.1   Seyyathāpi, bhikkhave, puriso dukkhena phuṭṭho...
sn12.2:1.1  Katamañca, bhikkhave, jarāmaraṇaṁ?
dn22:18.18  Yaṁ kho, bhikkhave, kāyikaṁ dukkhaṁ...

Demo videos​