Select2 by select2

Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.

javascriptjqueryselect2hacktoberfest
Verdict 75/100 health $4.13/mo cheapest, hetzner 2/5 setup difficulty 1 open CVE Last release 5.3 years ago

Self-host Select2 on hetzner CAX11 for $4.13/mo.

Health score
75 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
2 /5
Docker + read README
GitHub stars
26k
6.2k forks

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.

activity
80
maturity
100
community
83
security
70
sustainability
88
adoption
42

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
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 age14.2 yearssince Mar 2012
Last commit1.7 years agoSep 11, 2024
Releases shipped29last: 5.3 years ago
Funding links2declared by maintainers

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
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

2 known advisories tracked via OSV.dev. 1 currently open without a documented fix. Most recent: 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.

Frequently asked questions

Last verified . Data refreshes every 30 minutes.