Command-line tool
nkf
brew/nkf
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Network Kanji code conversion Filter (NKF)
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install nkf
Linux
brew install nkf
Convert to UTF-8 encoding
nkf -w path/to/file.txt
Convert to SHIFT_JIS encoding
nkf -s path/to/file.txt
Convert to UTF-8 encoding and overwrite the file
nkf -w --overwrite path/to/file.txt
Related command-line tools
- gffread
GFF/GTF format conversions, region filtering, FASTA sequence extraction - bismark
Bisulfite read mapper and methylation caller - grepcidr
Filter IP addresses matching IPv4 CIDR/network specification - simplewall
Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer. - ngrep
Network grep - eccodes
Decode and encode messages in the GRIB 1/2 and BUFR 3/4 formats - spatialite-tools
CLI tools supporting SpatiaLite - zeek
Network security monitor
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents