10 Best Autocomplete Libraries In Vanilla JavaScript (2024 Update)

If you’re looking for an autocomplete JavaScript library to enhance the select & input behaviors on web applications. You have come to the right place.

This is a hand-picked list that is updated every year and showcases the 10 best pure (vanilla) JavaScript autocomplete libraries of the year.

Feel free to download and use them in your next web app design to apply the autocomplete functionality to the existing input field or select box. Have fun with it.

Originally Published May 25 2020, updated Jan 16, 2024

1. Fast Autocomplete/Typeahead Library For Bootstrap 5

This is the upgraded version of the Bootstrap 4 Autocomplete plugin that enables a blazing fast autocomplete/typeahead functionality on Bootstrap 5 inputs.

autocomplete-typeahead-bootstrap-5

[Demo] [Download]


2. Elegant Multi-Select Component With Autocomplete – SelectPure

A pure JavaScript (es6) library to create elegant single or multiple select controls with support for autocomplete and dynamic data rendering.

SelectPure

[Demo] [Download]


3. Bootstrap 5 Autocomplete Plugin With JavaScript

A Bootstrap 5 autocomplete component that adds an autocomplete list to an input field with Bootstrap style.

Bootstrap 5 Autocomplete Plugin With JavaScript

[Demo] [Download]


4. Advanced Feature-rich Autocomplete JavaScript Library – awesomplete

A simple yet highly customizable, user-friendly, feature-rich autocomplete library written in pure JavaScript.

Advanced Feature-rich Autocomplete JavaScript Library – awesomplete

[Demo] [Download]


5. minisearch

A tiny but powerful in-memory fulltext search engine written in JavaScript. It is respectful of resources, and it can comfortably run both in Node and in the browser.

minisearch

[Demo] [Download]


6. uFuzzy

uFuzzy is a fuzzy search library designed to match a relatively short search phrase (needle) against a large list of short-to-medium phrases (haystack). It might be best described as a more forgiving String.indexOf(). Common use cases are list filtering, auto-complete/suggest, and title/name/description/filename/function searches.

uFuzzy

[Demo] [Download]


7. Simple Tags Input With Autocomplete Support

An extremely simple JavaScript tags input plugin with support for autocomplete.

Simple Tags Input With Autocomplete Support

[Demo] [Download]


8. Easy Autocomplete Library For Bootstrap 5 – autocompleteBS

A simple and configurable autocomplete JavaScript library created especially for the latest Bootstrap 5 framework.

Easy Autocomplete Library For Bootstrap 5 - autocompleteBS

[Demo] [Download]


9. Fast Autocomplete & Typeahead Library – autoComplete.js

A dynamic, blazing-fast,  dependency-free,  and easy-to-use autocomplete & typeahead JavaScript library for modern web development.

Fast Autocomplete & Typeahead Library – autoComplete.js

[Demo] [Download]


10. @Mention Autocomplete For Text Field – js-mention

A small JavaScript plugin that adds the @mention autocomplete functionality to a text field you specify. Can be used to mention someone in a text message.

mention-autocomplete-text-field-js-mention

[Demo] [Download]


More Resources:

To find more JavaScript libraries to enhance your select boxes on the web app, don’t forget to check out our other awesome resources.

You Might Be Interested In: