opencc

Package Information

Released: 5/16/2025
Downloads: 10 weekly / 43 monthly
Latest Version: 0.1.3
Author: pahud

Documentation

n8n-nodes-opencc

A private n8n custom node for fast, local Chinese text conversion between Simplified, Traditional, and regional variants using opencc-js. No external API required.

Features

  • Convert Chinese text between Simplified, Traditional, Taiwan, and Mainland standards
  • 100% local conversion (no network required)
  • Works as a drop-in n8n node
  • No credentials or API keys needed

Installation

Clone this repo and link it to your n8n instance:

git clone https://github.com/deepsrt/n8n-nodes-opencc.git
cd n8n-nodes-opencc
npm install
npm run build
npm link
# Then in your n8n project directory:
npm link n8n-nodes-opencc

Usage

  1. In n8n, add the OpenCC node to your workflow.
  2. Set the Text parameter to the Chinese text you want to convert (can use expressions).
  3. Choose the Conversion type:
    • Simplified to Traditional
    • Traditional to Simplified
    • TW to CN
    • CN to TW
  4. The output will be available as result in the node output.

Parameters

Parameter Description
Text The input Chinese text to convert
Conversion Conversion type (s2t, t2s, tw2cn, cn2tw)

Example

Input:

繁體中文轉換為简体字

Conversion: Traditional to Simplified

Output:

繁体中文转换为简体字

License

MIT. Copyright 2022 n8n. See LICENSE.md.

Discussion