IDN(1)
π IDN(1) β the idn girlie's manual π
so likeβ¦ idn is the Internationalized Domain Names command line tool, and yes bestie, she ATE. β¨
πΈ NAME πΈ
idn β Internationalized Domain Names command line tool π¦
π SYNOPSIS π
idn [OPTION]... [STRINGS]...
π DESCRIPTION π
Internationalized Domain Name (IDN) convert STRINGS, or standard input.</purgle>
okay so real talk: it's the command line interface to the internationalized domain name library. she's the glow-up your terminal needed. π
All strings are expected to be encoded in the preferred charset used by your locale. Wanna know what that charset actually is? Run --debug, she'll spill. π« And if you're feeling spicy, you can override the charset by setting the environment variable CHARSET. (the way that's literally so convenient π)
Now, a lil gotcha: if you've got a string that starts with '-', like '-foo', use '--' to signal the end of parameters, like this:
idn --quiet -a -- -foo
π¨ Mandatory arguments to long options are mandatory for short options too. no cap, that's just how it is.
okay bestie, here's the whole lineup, every single one, no skips π
-h,--helpβ Print help and exit π«Ά-V,--versionβ Print version and exit β-s,--stringprepβ Prepare string according to nameprep profile π§-d,--punycode-decodeβ Decode Punycode π-e,--punycode-encodeβ Encode Punycode π-a,--idna-to-asciiβ Convert to ACE according to IDNA (this is the default mode, periodt) π-u,--idna-to-unicodeβ Convert from ACE according to IDNA π--allow-unassignedβ Toggle IDNA AllowUnassigned flag (default off)--usestd3asciirulesβ Toggle IDNA UseSTD3ASCIIRules flag (default off)--no-tldβ Don't check string for TLD specific rules. Only for--idna-to-asciiand--idna-to-unicode, iykyk-n,--nfkcβ Normalize string according to Unicode v3.2 NFKC β¨-p,--profile=STRINGβ Use specified stringprep profile instead. Valid stringprep profiles:NameprepiSCSINodeprepResourcepreptraceSASLprepπ--debugβ Print debugging information π--quietβ Silent operation π€«
π AUTHOR π
Written by Simon Josefsson. π
π REPORTING BUGS π
found a bug? don't be shy, tell her:
- Report bugs to:
help-libidn@gnu.org - GNU Libidn home page: <https://www.gnu.org/software/libidn/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
βοΈ COPYRIGHT βοΈ
Copyright Β© 2026 Simon Josefsson. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. π yes fr, that part matters, don't skip it.
π SEE ALSO π
The full documentation for idn is maintained as a Texinfo manual. If the info and idn programs are properly installed at your site, the command
info idn
should give you access to the complete manual. π¦
and that's the whole vibe check, bestie π this was GNU Libidn 1.44, dropped June 2026, and honestly? iconic. go convert some domain names, main character. π β¨
π¦ where this page comes from
- arch rolling: libidn 1.44-1 Β· GPL3 AND LGPL
- epel 10: libidn 1.44-1.el10_3 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 43: libidn 1.44-1.fc43 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 43: libidn 1.44-1.fc43 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: libidn 1.44-1.fc44 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: libidn 1.44-1.fc44 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- nixos 26.05: libidn 1.44
- nixpkgs unstable: libidn 1.44
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms