Everyday tools

pangu.js

Automatically adds spaces between Chinese, Japanese or Korean text and English letters, numbers and symbols.

Your data
Stays on your device
Coding needed
No
Cost
Free
Runs on
Web browser
Drafted with AI

What it does

pangu.js adds a space wherever Chinese, Japanese or Korean characters sit right next to English letters, numbers or symbols. This makes mixed-language text easier to read. It comes as a Google Chrome extension that spaces every web page you visit, and as a JavaScript library and command-line tool for developers.

The Chrome extension has an "AI Spacing" feature. Some symbols, like + or -, mean different things in different places. For example, a minus sign might be a negative number or a separator. Simple pattern rules can't tell the difference, so the extension asks a small AI language model to decide.

That model is Gemini Nano, which runs through Chrome's built-in Prompt API (a way for web pages and extensions to use the AI built into the browser). Its makers say it works fully offline, nothing leaves your machine, and it's free.

Who it's for

People who read or write a mix of Chinese, Japanese or Korean with English and want cleaner spacing. Developers can also add it to websites or apps.

Can I use it without coding?

Yes. Anyone can install the Chrome extension from the Chrome Web Store; the library and command-line tool are for developers. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Runs on
Web browser
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

  1. Install the "為什麼你們就是不能加個空格呢?" extension from the Chrome Web Store.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe