10 Awesome Javascript Fuzzy Search Libraries

A fuzzy search returns a number of matches that are likely to be relevant to a search term or terms even when the match does not exactly correspond to the search terms. In some ways a fuzzy matching program can operate a lot like a spell checker. So here are 10 Awesome Javascript Fuzzy Search Libraries that you can use them on any of your projects. Having such powerful search on your site, visitors will feel more comfortable and will be able to find their desired things easily.



List.js

Tiny, invisible and simple, yet powerful and incredibly fast vanilla JavaScript that adds search, sort, filters and flexibility to plain HTML lists, tables, or anything.

List

Lunr.js

It is a small, full-text search library for use in the browser. It indexes JSON documents and provides a simple search interface for retrieving documents that best match text queries.

Lunr.js

Fuse.js

Lightweight fuzzy-search, in JavaScript, with zero dependencies.

Fuse.js

Fuzzy

Filters a list based on a fuzzy string search.

fuzzy

Fuzzysearch

Fuzzy searching allows for flexibly matching a string with partial input, useful for filtering data very quickly based on lightweight user input.

fuzzysearch

Fuzzyset

A fuzzy string set for javascript. A data structure that performs something akin to fulltext search against data to determine likely mispellings and approximate string matching.

Fuzzyset

Fuzzysort

Fast SublimeText-like fuzzy search for JavaScript.

fuzzysort

FuzzySearchJS

It provides an easy and modular way for fuzzy searching in JS for multiple purposes.

FuzzySearchJS

Bripkens

It is very lightweight and is aimed to provide an experience which you may know from editors such as Sublime Text 2, TextMate and others.

Bripkens

Fuzzy Search

So that you can prioritize types of matches, fuzzy search returns two arrays of matches, exact and fuzzy. exact matches contain the exact search term, ordered by proximity to the beginning of the string in which it was found. fuzzy matches contain the search term even if there are characters in between.

Fuzzy Search

0 Comments

  1. Chris Dsays:

    Fuse has good search results but is very slow. Lunr is fast but the results are really bad. See this comparison: https://accuratesearch.org/javascript-search-comparison.html

Leave a comment

Please be polite. We appreciate that. Your email address will not be published and required fields are marked

This site uses Akismet to reduce spam. Learn how your comment data is processed.