macOS
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · source: api.github.com
brew
Simplified-traditional Chinese conversion tool. Version 1.4.0 via Homebrew; verified 2026-07-01.
install
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · source: api.github.com
sudo apk add openccAlpine Linux edge package indexes · opencc · source: dl-cdn.alpinelinux.org
sudo apt install libopencc-dataDebian stable package indexes · libopencc-data · source: deb.debian.org
sudo dnf install openccFedora Rawhide package metadata · opencc · source: dl.fedoraproject.org
nix profile install nixpkgs#openccnixpkgs package indexes · pkgs/by-name/op/opencc/package.nix · source: api.github.com
sudo pacman -S openccArch Linux sync databases · opencc · source: geo.mirror.pkgbuild.com
sudo zypper install libopencc1_2openSUSE Tumbleweed package metadata · libopencc1_2 · source: download.opensuse.org
winget install --id BYVoid.OpenCC -eWindows Package Manager source index · BYVoid.OpenCC · source: cdn.winget.microsoft.com
overview
Simplified-traditional Chinese conversion tool
history
OpenCC, Open Chinese Convert, is a conversion library and CLI for Traditional Chinese, Simplified Chinese, Japanese Shinjitai, regional vocabulary variants, and character/phrase-level Chinese script conversion.
BYVoid's project page describes OpenCC as an open source Traditional/Simplified Chinese conversion project with high-quality phrase dictionaries and a C library, originally hosted on Google Code and GitHub. The source header credits Carbo Kuo and contributors from 2010 onward, giving the project a long maintenance history for what could otherwise look like a simple text filter.
The project evolved from a C/C++ conversion library and command-line tool into a multi-ecosystem package. The README lists installation paths through Debian, Ubuntu, Fedora, Arch Linux, Homebrew, WinGet, Bazel, Node.js, and Python, and includes C, C++, Node.js, and Python usage examples.
OpenCC's release history shows the project treating dictionaries and conversion behavior as first-class software. Version 1.1.0 introduced the `ocd2` dictionary format based on Marisa Trie and reduced dictionary size; version 1.3.x rewrote core conversion paths, added Jieba plugin work, and expanded diagnostics such as segmentation and inspection; version 1.4.0 raised the C++ ABI/SOVERSION to avoid silent ABI mismatches.
OpenCC became a common dependency because script conversion is not just character substitution. The project emphasizes distinctions such as one-simplified-to-many-traditional mappings, variant characters, and regional vocabulary across Mainland China, Taiwan, Hong Kong, and Japanese Shinjitai.
The package's breadth across Python, Node.js, WinGet, Linux distributions, Homebrew, and Bazel makes it useful in desktop tools, web backends, NLP preprocessing, publishing pipelines, chat applications, and input-method ecosystems. OpenCC's own documentation states that it is not a Mandarin/Cantonese translation tool, which helps frame its adoption around orthography and vocabulary variants rather than language translation.
Users run the `opencc` CLI with JSON configurations such as Simplified-to-Traditional, Traditional-to-Simplified, Taiwan phrase, Hong Kong phrase, or Japanese Shinjitai conversion modes. Developers embed the library through C/C++, Python, Node.js, or downstream ports when they need deterministic script conversion inside applications.
Dictionary maintainers and power users use `opencc_dict`, inline dictionaries, JSON/JSONC configuration, resource bundles, and diagnostic modes to inspect segmentation and conversion stages. Those tools matter because many conversion bugs are phrase-boundary or regional-vocabulary bugs rather than simple missing characters.
OpenCC is a deceptively deep package: a text converter with ABI, dictionary format, data-resource packaging, language bindings, prebuilt binaries, and region-sensitive data updates. The interesting packaging work is making the executable, shared library, dictionaries, configs, and bindings agree across platforms.
It is also a good example of data as code. Release notes are dominated by dictionary corrections, phrase additions, normalization behavior, and compatibility work, showing why downstreams need both the binary and the exact data files.
security posture
No matching local secret-handling manifest was found for opencc. Nucleus package metadata is still published here so future coverage has a stable package URL.
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 |
|---|---|---|---|
opencc | cli | global executable | |
opencc_dict | cli | global executable | |
opencc_phrase_extract | 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.
https://github.com/BYVoid/OpenCC
install metadata
| Package key | brew:opencc |
|---|---|
| Version | 1.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/opencc |
| Homepage | https://opencc.byvoid.com/ |
| Repository | https://github.com/BYVoid/OpenCC |
| Upstream docs | https://byvoid.github.io/OpenCC |
| License | Apache-2.0 |
| Source archive | https://github.com/BYVoid/OpenCC/archive/refs/tags/ver.1.4.0.tar.gz |
| Last updated | 2026-07-01T22:54:50Z |
| Pulse | updated |
| Dependencies | marisa |
| Build dependencies | cmake |
| 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 | opencc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.
libopencc-data 1.1.9+ds1-1
simplified-traditional Chinese conversion library - data files
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-datalibopencc-dev 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - development
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-devlibopencc-doc 1.1.9+ds1-1
simplified-traditional Chinese conversion library - document
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-doclibopencc1.1 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - runtime
https://github.com/BYVoid/OpenCC
sudo apt install libopencc1.1opencc 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion tool
https://github.com/BYVoid/OpenCC
sudo apt install openccpython3-opencc 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - Python 3.x
https://github.com/BYVoid/OpenCC
sudo apt install python3-openccopencc
nix profile install nixpkgs#opencclibopencc-data 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - data files
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-datalibopencc-dev 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - development
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-devlibopencc-doc 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - document
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-doclibopencc1.1 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - runtime
https://github.com/BYVoid/OpenCC
sudo apt install libopencc1.1opencc 1.1.7+ds1-1build1
simplified-traditional Chinese conversion tool
https://github.com/BYVoid/OpenCC
sudo apt install openccopencc 1.3.1-r0
Open Chinese Convert
sudo apk add openccopencc-dev 1.3.1-r0
Open Chinese Convert (development files)
sudo apk add opencc-devopencc-doc 1.3.1-r0
Open Chinese Convert (documentation)
sudo apk add opencc-docopencc-libs 1.3.1-r0
Open Chinese Convert (libraries)
sudo apk add opencc-libssource 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.