FLP logo

Semantic Search Is Now on CourtListener

Rachel Gao

Semantic search has arrived on CourtListener—you can now search case law using natural language, directly from the website.

Last November, we launched semantic search through our API, bringing a new way to find case law by meaning rather than exact keywords. The next step we're taking today is to make this powerful search available to everyone on the website—no API required.

Thousands of users place hundreds of thousands of searches on our website each day. We can't wait to see how this new feature enhances research on the CourtListener platform!

What Is Semantic Search?

How It Works

An encoder machine learning model, fine-tuned for information retrieval, represents legal opinions as embeddings (high-dimensional numbers) that capture their semantic meaning. When you submit a query, the same model translates it into embeddings, and an approximate nearest neighbor algorithm identifies opinions with the most semantically similar meanings.

For a detailed comparison of keyword versus semantic search, check out our help page on Citegeist.

Try It Now

Traditional keyword search requires that your query contain the exact same words as an opinion for it to turn up. Semantic search takes a different approach by leveraging the meaning and intent of your query. This surfaces relevant decisions even when they use different terminology than your query.

For example, a keyword search for "tenant evicted for having a dog" will only match opinions containing those exact words. A semantic search for the same query can also find cases about "landlord removed renter for violating pet policy"—because the meaning is the same.

Hybrid Search

Sometimes you want both meaning-based matching and exact-keyword precision. With hybrid search, you can—just wrap your terms in quotation marks.

For example:

"Fourth Amendment" unreasonable search of a student's phone at school

Behind the scenes, hybrid search runs keyword and semantic searches in parallel and ranks the combined results together. Your top hits might come from either side—an opinion that contains the exact phrase, or one that's a strong semantic match. Wherever your quoted term does appear in a result, it will be highlighted so you can easily spot it.

Filters Work Too

All your favorite filters—dates, courts, citation counts, and more—work seamlessly with semantic search, just like they do with keyword search.

How to Use It

We've added a simple toggle to the search bar: click the & / ? icon to switch between keyword and semantic search. Your last selection is saved, so you'll stay in the same mode when you return.

  • & — Keyword search (the default you know and love)

    Screenshot of CourtListener search bar in keyword mode showing the & toggle
  • ? — Semantic search (natural language)

    Screenshot of CourtListener search bar in semantic mode showing the ? toggle

Also Available via API

If you're building tools on top of CourtListener, semantic search has been available through our Search API since November 2025. Check out our API announcement for details on integration, hybrid search, and more.

What's Next?

This is just the beginning. We're continuing to improve retrieval quality, expand coverage, and explore new ways to make legal search smarter. Keyword search isn't going anywhere—you'll always have access to both.

If you're as excited about this as we are, head over to CourtListener and give it a try!

Try It Now

With Thanks

Bringing semantic search to this scale has been a collaborative effort by the Free Law Project dev and AI teams, along with many volunteers and testers. Special thanks to LegalTextAI, Nina Shamsi at Northeastern University, Dominik Stammbach and Peter Henderson at Princeton University for their contributions and wisdom. Thank you to everyone who helped make this possible!

Thank you to our members and donors whose support keeps this work going. If you or your company is interested in becoming a sponsor of upcoming projects at Free Law Project, please contact our Director of Philanthropy at jenifer@free.law.

Become a Member TodayMake a Donation

© 2026 Free Law Project. Content licensed under a Creative Commons BY-ND international 4.0, license, except where indicated. Site powered by Netlify.