AptLynx

Command-line tool

enca

brew/enca

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Charset analyzer and converter

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install enca

Linux

brew install enca

Detect file(s) encoding according to the system's locale

enca path/to/file1 path/to/file2 ...

Detect file(s) encoding specifying a language in the POSIX/C locale format (e.g. zh_CN, en_US)

enca -L language path/to/file1 path/to/file2 ...

Convert file(s) to a specific encoding

enca -L language -x to_encoding path/to/file1 path/to/file2 ...

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents