macOS
brew install nkflocal Homebrew formula metadata
sudo port install nkfMacPorts ports tree · textproc/nkf/Portfile · source: api.github.com
brew
Network Kanji code conversion Filter (NKF). Version 2.1.5 via Homebrew; verified from local package data.
install
brew install nkflocal Homebrew formula metadata
sudo port install nkfMacPorts ports tree · textproc/nkf/Portfile · source: api.github.com
sudo apt install libnkf-perlDebian stable package indexes · libnkf-perl · source: deb.debian.org
sudo dnf install nkfFedora Rawhide package metadata · nkf · source: dl.fedoraproject.org
nix profile install nixpkgs#nkfnixpkgs package indexes · pkgs/by-name/nk/nkf/package.nix · source: api.github.com
sudo zypper install nkfopenSUSE Tumbleweed package metadata · nkf · source: download.opensuse.org
overview
Network Kanji code conversion Filter (NKF)
history
nkf, the Network Kanji Filter, is a long-lived Japanese text encoding conversion utility. It converts among encodings such as ISO-2022-JP, Shift_JIS, EUC-JP, UTF-8, UTF-16, and UTF-32, with automatic input-encoding guessing as one of its defining conveniences.
The upstream README credits the original 1987 Fujitsu work by Itaru Ichikawa and the nkf Project's later maintenance from 1996 through 2012. The project's change log shows a major 2.0-era transition in September 2002, including UTF-8/UTF-16 work and migration into SourceForge CVS, which matches nkf's role as Japanese Unix text processing moved from legacy encodings toward Unicode.
nkf has survived because the Japanese encoding problem never fully disappeared: archives, mail, old web content, Windows-31J/CP932 data, and legacy build/test fixtures still need reliable conversion. Homebrew's API reported 144 installs in 30 days, 560 in 90 days, and 4,692 in 365 days when checked on July 1, 2026, and the package is also present across Debian/Ubuntu, Fedora, openSUSE, Nix, MacPorts, and other package systems.
Typical command-line use is plumbing: guess an unknown Japanese file's encoding, convert Shift_JIS or EUC-JP to UTF-8, normalize line endings, MIME-decode Japanese mail headers, or do in-place conversion with `--overwrite`. Developers also encounter nkf indirectly through language bindings, notably Ruby's NKF extension.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nkf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:nkf |
|---|---|
| Version | 2.1.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nkf |
| Homepage | https://github.com/nurse/nkf |
| Repository | https://github.com/nurse/nkf |
| Upstream docs | https://github.com/nurse/nkf#readme |
| License | Zlib |
| Source archive | https://deb.debian.org/debian/pool/main/n/nkf/nkf_2.1.5.orig.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nkf |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libnkf-perl 1:2.1.5-1+b8
Network Kanji code conversion Filter for Perl
https://osdn.net/projects/nkf/
sudo apt install libnkf-perlnkf 1:2.1.5-1+b8
Network Kanji code conversion Filter
https://osdn.net/projects/nkf/
sudo apt install nkfnkf
nix profile install nixpkgs#nkflibnkf-perl 1:2.1.5-1build7
Network Kanji code conversion Filter for Perl
https://osdn.net/projects/nkf/
sudo apt install libnkf-perlnkf 1:2.1.5-1build7
Network Kanji code conversion Filter
https://osdn.net/projects/nkf/
sudo apt install nkfnkf 2.1.4-38.fc44
A Kanji code conversion filter
sudo dnf install nkfperl-NKF 2.1.4-38.fc44
Perl extension for Network Kanji Filter
sudo dnf install perl-NKFnkf 2.1.5-1.34
Network Kanji Code Conversion Filter
http://sourceforge.jp/projects/nkf/
sudo zypper install nkfperl-NKF 2.1.5-1.34
Perl extension for nkf (Network Kanji Filter)
http://sourceforge.jp/projects/nkf/
sudo zypper install perl-NKFnkf
sudo port install nkfsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.