libidn2

Install command:
brew install libidn2

International domain name library (IDNA2008, Punycode and TR46)

https://www.gnu.org/software/libidn/#libidn2

License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND (Unicode-TOU AND Unicode-DFS-2016) AND GPL-3.0-or-later AND LGPL-2.1-or-later AND FSFAP-no-warranty-disclaimer

Development: Pull requests

Formula JSON API: /api/formula/libidn2.json

Formula code: libidn2.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
macOS on
Intel
sonoma ✅
ventura ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.3.8
head ⚡️ HEAD

Depends on:

libunistring 1.5 C string library for manipulating Unicode strings
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library

Depends on when building from source:

pkgconf 3.0.11 Package compiler and linker metadata toolkit

Binaries: idn2

GitHub Packages downloads:

Last 30 days511,732
Downloads49,270,864
Analytics install events (30 days)50,693
Downloads / install events (30 days)10.1×

Source: GitHub Packages, fetched 2026-11-18T00:57:31Z. Analytics dates: 2026-10-19 to 2026-11-18. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs50,690116,696629,635
Installs (--HEAD)3521
Installs on Request4461,14911,233
Installs on Request (--HEAD)0110
Build Errors2