Skip to content

Chinese Typesetting Normalizer - Pangu Spacing & Proper-Noun Casing

Free Chinese typesetting normalizer: pangu spacing between CJK and Latin/digits, fullwidth punctuation in CJK context, and 40+ tech proper-noun casing fixes. Runs locally.

Was this result helpful?

This tool runs in your browser: what you enter is processed on your device and normally never appears in a request to any server.

Usage Guide

Mixed Chinese-English copy has three chronic ailments: no spacing at CJK/Latin boundaries, half-width punctuation inside Chinese sentences, and inconsistently cased product names (github, json, iphone). Fixing them by hand is slow and leaky. This normalizer batches the conventions known as “pan-gu spacing”: a space between CJK and Latin/numerals, full-width punctuation in Chinese context, and official casing for 40+ high-frequency tech terms. Fully local — a final polish before publishing docs, READMEs, or official-account posts.

1. How to use

Everything runs in the browser; unpublished drafts and internal docs never leave the page.

  1. Paste the text (long paragraphs welcome).
  2. Toggle the rule groups — CJK/Latin spacing, punctuation full-widthing, proper-noun casing — each independently.
  3. Normalize and review the side-by-side diff, then copy. Code spans wrapped in backticks are skipped automatically.

2. Why these rules

A space between CJK and Latin text (“pan-gu spacing”) is the dominant convention in Chinese technical writing and measurably improves readability. Full-width punctuation addresses “你好,世界.” — half-width commas inside Chinese sentences are ugly and ambiguous next to abbreviations. The proper-noun table covers the terms developer docs hit constantly — JavaScript, TypeScript, GitHub, JSON, HTTP, iOS, macOS, Vue, React — normalized to each vendor’s official spelling rather than blind capitalization.

3. Details and exceptions

  • Numerals get spacing too (“提高了 30%”), except when glued to units (3km, 5GB).
  • Full-widthing applies only in Chinese context: half-width punctuation inside English sentences survives; the decision is based on the surrounding characters.
  • Proper-noun matching is case-insensitive but word-boundary anchored (json inside jsonpath is untouched).
  • Backtick spans and fenced code blocks are skipped wholesale — typography rules must not touch code.

4. When not to use it

  • Legal and official documents: their punctuation and spacing follow official style guides that may conflict with these conventions.
  • Publishing submissions: run the target journal’s rules, and pilot on a small section first.
  • Contracts: any automated rewrite deserves human review before becoming final.

5. How this differs from the garbled-text diagnoser

The Garbled Text Diagnoser fixes encoding-level corruption (the byte layer); this tool fixes formatting conventions (the presentation layer) — the former repairs “displays wrongly”, the latter polishes “displays correctly but reads rough”. A common mix-up: if the text is already legible Han characters but awkwardly spaced, use this tool; if you see “中”-style alien glyphs, start with the diagnoser.

FAQ

Three independently toggleable rule groups: spacing between CJK and Latin text (the pangu convention — numbers get it too, as in 提高了 30%, but not when a unit hugs the number, as in 3km or 5GB); full-width punctuation in Chinese context; and 40+ tech proper nouns cased to their official spellings. Proper-noun matching is case-insensitive yet whole-word only, so the json inside jsonpath stays untouched.

No — backtick spans and fenced code blocks are skipped wholesale; typesetting rules never touch code.

No. Full-widthing applies only in Chinese context, decided by the characters surrounding the punctuation; punctuation inside English sentences survives as-is.

Not recommended. Such documents follow official punctuation and spacing rules that may conflict with general conventions; for journal submissions, defer to the target style guide and test on an excerpt first; and contract clauses that went through any automated rewrite deserve human review before finalizing.

By symptom: text that is already correct Chinese but typeset poorly is a presentation-layer problem for this tool; strings like 中 indicate encoding-layer damage — run the garbled-text diagnoser first. One fixes "correct but ugly", the other fixes "displayed wrong".

Yes — processing is instant and self-contained in the tab; nothing you paste is uploaded or shared anywhere.

Related Tools

Related Articles