Text Formatter
Auto-space CJK and Latin text, convert punctuation and full/half-width characters, transform letter casing, and clean extra blank lines or whitespace.
Screenshots
Overview & Usage Guide
Format text with automatic CJK-Latin spacing, Chinese/English punctuation conversion, full/half-width conversion, letter casing and identifier naming styles, line deduplication/sorting, and Simplified/Traditional Chinese conversion. Lists 24 conversion results at once; select one to preview on the right and copy.
Usage
- Command:
Text Formatter(primary plugin command). - The first row holds the input text: press
Enterto open the multiline editor (⌘/Ctrl+Enterto apply), or⌘/Ctrl+Enterto paste from the clipboard; when empty, sample text is used for demonstration. The search box filters conversion methods only (for example, typinguppercase,line numbers, ortraditional). - On any result row: press
Enterto copy the result,⌘/Ctrl+Enterto set that result as the new input text so you can chain multiple conversions, or⌘/Ctrl+Kto open the action panel. - The right preview shows up to the first 10,000 characters, while copying always uses the full result. Conversions that produce no output for the current text do not copy empty content.
camelCase/snake_case/kebab-casenaming converts line by line (one identifier per line), recognizing case boundaries such asuserNameandHTTPServer; CJK characters and punctuation are excluded from identifiers, and lines without English words show no output.- Converting English punctuation to Chinese punctuation skips inline code, URLs, and email addresses; Markdown formatting leaves code blocks untouched.
- Simplified/Traditional Chinese conversion uses OpenCC dictionary data, converting Simplified Chinese to Traditional Chinese (Taiwan standard); see
THIRD_PARTY_NOTICES.mdfor data sources.
Platforms & Requirements
- Supported: Windows, macOS
Network & Data
- Offline only; text is processed locally and is not saved.
Frequently Asked Questions (FAQ)
How do I install and launch "Text Formatter" in ZTools?
Open the Plugin Marketplace inside ZTools Workbench, search for "Text Formatter", and install it. Then type its name in the launcher bar to open it.
Is "Text Formatter" free? Which platforms are supported?
Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.