Publish Helper logo

CJK Auto-Spacing Tool — Add Spaces Between Chinese & English

Automatically add spaces between CJK (Chinese, Japanese, Korean) characters and Latin letters or numbers. Paste your text or HTML and get perfectly spaced content instantly — free, no signup required.

IAuto-Spacing Tool

0 characters

IIHow It Works

1.Paste Your Content

Paste text or HTML containing mixed CJK and Latin characters. Supports Chinese, Japanese, Korean alongside English letters and numbers.

2.Instant Processing

The tool automatically detects CJK–Latin boundaries and inserts a single space at each transition — no AI needed, runs entirely in your browser.

3.Copy & Use

Copy the spaced result and paste it into your blog, CMS, or source code. HTML mode preserves all tags and only spaces text content.

IIIBefore & After

Before

使用React和TypeScript開發Web應用程式

After

使用 React 和 TypeScript 開發 Web 應用程式

Before

今天是2024年3月20日,天氣很好

After

今天是 2024 年 3 月 20 日,天氣很好

Before

<p>在GitHub上建立repository並push程式碼</p>

After

<p>在 GitHub 上建立 repository 並 push 程式碼</p>
IVWhy CJK Auto-Spacing Matters

When CJK characters sit directly against Latin letters or numbers without spacing, text becomes harder to read. The pangu.js standard — named after the Chinese creation myth of Pangu separating heaven and earth — adds a single space at each CJK–Latin boundary to improve readability.

  • Improved readability — spaces create visual breathing room between writing systems
  • Consistent typography — matches professional publishing standards used by Apple, Microsoft, and W3C
  • Better SEO — well-formatted CJK content is easier for search engines to tokenize and index
  • Accessibility — screen readers handle spaced mixed-script text more reliably
VFrequently Asked Questions

What is CJK auto-spacing?

+

CJK auto-spacing automatically inserts a single space between Chinese, Japanese, or Korean characters and adjacent Latin letters or numbers. This follows the pangu.js spacing standard, which is widely adopted in Chinese-language publishing and web development.

Does it modify HTML tags or attributes?

+

No. In HTML mode, the tool only spaces text content inside elements. HTML tags, attributes, URLs, and code blocks are left untouched. Only visible text nodes get spaced.

Is this the same as pangu.js?

+

Yes, this tool uses pangu.js under the hood — the most popular open-source CJK spacing library with over 4,000 GitHub stars. It handles all CJK–Latin boundary cases including punctuation, numbers, and mixed scripts.

Does spacing affect SEO or search ranking?

+

Proper CJK–Latin spacing improves content readability and may help search engines tokenize mixed-language text more accurately. Major Chinese tech companies like Apple China, Microsoft Docs, and MDN Chinese all follow this spacing convention.

Is this tool free to use?

+

Yes, completely free with no signup required. The tool runs entirely in your browser — your text is never sent to any server.

Can I use this for Japanese or Korean text?

+

Absolutely. The tool handles all CJK scripts — Chinese (Simplified and Traditional), Japanese (Hiragana, Katakana, Kanji), and Korean (Hangul). Any CJK character adjacent to Latin text will be spaced.

Changelog

v2.3.02026-03-20
  • NewCJK auto-spacing — automatically insert spaces between Chinese/Japanese/Korean characters and English letters or numbers (powered by pangu.js)
  • NewStandalone CJK Auto-Spacing tool page with before/after examples, FAQ, and SEO-optimized bilingual content
  • NewChinese UI text auto-spacing — zh-TW interface text now has proper CJK–Latin spacing
  • FixMobile toolbar no longer floats and follows scrolling — stays pinned at the bottom of the editor
  • FixMobile toolbar buttons now scroll horizontally instead of overflowing
  • FixFind & Replace inputs no longer break out of the container on narrow screens
v2.2.12026-03-20
  • FixHeading conversion now uses the text prefix (e.g. H3:) to set the heading level, even when the content is already inside a different heading tag
v2.2.02026-03-18
  • NewAI-Powered Title to SEO Slug — Convert blog titles in any language to SEO-friendly English slugs in under 10 seconds
  • NewSlug generator toggle on the main page — generate slugs right after editing, above the fold
  • NewTable support — pasted tables from Google Docs now render correctly
  • NewRemove <br> after headings cleanup option (on by default)
  • NewPartial text selection copy in the HTML code view
  • NewSticky Clean HTML button at the bottom of the page
  • ImprovedHeading conversion now strips prefixes from existing heading tags and supports Chinese full-width colon (:)
  • ImprovedShared footer across all pages
v2.1.22026-03-17
  • FixBug fixes and improvements
v2.1.12026-03-16
  • FixBug fixes and improvements
v2.1.02026-03-16
  • NewFormatted/Raw toggle for the HTML code view
  • ImprovedCopying from the code panel now always gives clean, unformatted HTML
v2.0.02026-03-16
  • NewWelcome to Publish Helper — free online tools for content editors
  • ImprovedImproved search engine visibility
v1.1.02026-03-16
  • ImprovedClipboard copy — clean HTML output matches the code view
v1.0.02026-03-16
  • NewRich text editor with Google Docs paste support
  • NewHTML cleanup: strip styles, classes, empty tags, and Google Docs artifacts
  • NewHeading conversion from text prefixes to proper HTML tags
  • NewFind & replace with regex support and saveable presets
  • NewSyntax-highlighted HTML preview with one-click copy