Select2 by select2
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
About Select2
From the project's README at github.com/select2/select2. Lightly cleaned for readability; for the full source see the upstream repo.
Select2 ======= ![Build Status][github-actions-image] [](https://opencollective.com/select2) [][jsdelivr] [][cdnjs]
Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and pagination of results.
To get started, checkout examples and documentation at https://select2.org/
Enhancing native selects with search. Enhancing native selects with a better multi-select interface. Loading data from JavaScript: easily load items via AJAX and have them searchable. Nesting optgroups: native selects only support one level of nesting. Select2 does not have this restriction. Tagging: ability to add new items on the fly. Working with large, remote datasets: ability to partially load a dataset based on the search term. Paging of large datasets: easy support for loading more pages when the results are scrolled to the end. Templating: support for custom rendering of results and selections.
Health score breakdown
6-dimension composite. See methodology for formula and weights.
Adoption signals
Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.
| Signal | Value | Source |
|---|---|---|
| GitHub stars | 26k | github.com/select2/select2 |
| GitHub forks | 6.2k | github.com/select2/select2 |
| NPM downloads (last month) | 3132k | select2 |
Release & maintenance
Is this project actively maintained, or about to die? Check the recency of last commit and last release.
| Project age | 14.2 years | since Mar 2012 |
| Last commit | 1.7 years ago | Sep 11, 2024 |
| Releases shipped | 29 | last: 5.3 years ago |
| Funding links | 2 | declared by maintainers |
Self-hosting cost across providers
Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.
| Provider | Plan | Specs | Monthly | |
|---|---|---|---|---|
| hetzner | CAX11 | 2c · 4GB · 40GB | $4.13 USD | Deploy → |
| vultr | VC2 | 1c · 1GB · 25GB | $5 USD | Deploy → |
| linode | Nanode 1GB | 1c · 1GB · 25GB | $5.12 USD | Deploy → |
| digitalocean | Basic Regular 1GB | 1c · 1GB · 25GB | $6 USD | Deploy → |
Security advisories
GHSA-rf66-hmqf-q3fc. What people say on Hacker News
Ready to self-host Select2?
Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.
Data last refreshed May 7, 2026.
Similar open-source projects
Projects in our directory that replace the same SaaS or share topics with Select2.