# select2

> jQuery-based replacement for HTML select boxes

Select2 is a customizable jQuery-based replacement for standard HTML select elements. It enhances select boxes with live searching, remote data loading via AJAX, custom templating, multi-selection, and infinite scrolling for large datasets. Developers can include it via CDN or package managers in web projects.

- Source: https://github.com/select2/select2
- Homepage: https://select2.org/
- License: MIT
- Built with: JavaScript 83.6%, HTML 9.3%, SCSS 7.1%
- Stars: 25907
- Forks: 6112
- Contributors: 526
- Last commit: 2026-11-23
- Latest release: 4.2.0 (2026-11-23)
- Purpose: Developer tools
- Type: Library / SDK
- For: Personal

## Can I use it?

MIT License. Permissive. Few rules: use it almost any way you like, if you keep the notice.

- Use it at work: Yes. Free for personal and company use.
- Sell what you build with it: Yes. You can sell apps and services that include it.
- Keep your own code private: Yes. You don’t have to share your code or your changes.
- Put it in a closed-source app: Yes. You can ship it inside closed-source software.
- Credit the authors: Required. Keep the copyright and license notice in the copies you share.

Good to know:

- It comes with no promise that it works. You use it at your own risk.
- This covers the project’s own code. Its dependencies, and folders like “ee”, may have other licenses.
- The license can change between versions. The one in the version you use is what counts.

_For information only, not legal advice. This is a short summary of the MIT License. The license text is what counts. [Read the full license](https://spdx.org/licenses/MIT.html). For a business decision, ask a lawyer._

[Compare the common licenses](https://diggithub.com/-/licenses#lic-mit)

## Worth score: 79/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 22/25
- Momentum: 10/20
- Maintenance: 25/25
- Community: 14/15
- Readiness: 8/15

## Downloads

Latest release: [Select2 4.2.0](https://github.com/select2/select2/releases/tag/4.2.0). Files from the project's GitHub release, not checked by DigGitHub.

Source code only: this release has no files to download.

## Alternatives

- [jQuery](https://diggithub.com/jquery/jquery.md): The classic JavaScript library
- [Taro](https://diggithub.com/NervJS/taro.md): Cross-platform framework for mini-programs

---

Source page: https://diggithub.com/select2/select2
Updated: 2026-11-24
