CHINESE INITIALS · A LITTLE LAB
A little
alter ego for 中文
喵 becomes M. 世界 becomes SJ. Pyfl is a JavaScript library that turns Chinese characters into pinyin initials, so titles, contacts, and little ideas are easier to find.

Same words. A new shape.
Type something and meet its initials. English, numbers, and symbols stay just as they are.
Conversion runs in this browser. Your input is not sent to a server.
Built-in phrase rules turn 重庆银行 into CQYH and 音乐 into YY. Unmatched text uses default character readings; names and places may need custom rules.
Same character. Different words.
Compare the same dictionary with and without phrase rules. Select a word to try it above.
| Word | Character only | With phrases |
|---|---|---|
ZQ | CQ | |
ZL | ZL | |
YX | YH | |
XZ | XZ | |
YL | YY | |
KL | KL |
You are reading the static version. Enable JavaScript to type, search, and copy.
Remember a few letters. Find the whole idea.
Try CQ or ZQ for 重庆银行, YY or YL for 音乐, or search the titles in Chinese.
Search matches Chinese text and consecutive initials across pronunciation candidates. Rare readings may also match; a result does not confirm pronunciation. Full pinyin and skipped-letter matching are not supported.
7 titles
- 魔法少女喵喵酱
MFSNMMJ - 周末去看海
ZMQKH - 月亮邮局
YLYJ - 给未来的自己
GWLDZJ - 夏日观察日记
XRGCRJ - 重庆银行
CQYH - 音乐收藏夹
YYSCJ
A small job. One line.
Text in, initials out. A simple API with clear limits.
npm install pyflimport pyfl from "pyfl/modern";
pyfl("你好,世界"); // "NH,SJ"
pyfl("重庆银行 / 音乐 / 行走"); // "CQYH / YY / XZ"This playground uses the modern phrase mode of pyfl 2.1.0, available on npm. Usage documentation
Conversion uses pyfl/modern; lookup uses multi-pronunciation search. Rebuild existing indexes when switching entries. Modern entry guide
- 01Common characters & phrases
- The common dictionary covers 8,105 characters with 36 built-in phrase rules. Unlisted characters, emoji, and symbols are preserved.
- 02Initials only
- Phrase rules use longest matching, without general contextual disambiguation or full pinyin. Use createConverter overrides for names, places, and special readings.
- 03Whitespace & types
- Empty strings and ASCII-space-only strings return empty. Other whitespace is preserved. Non-strings use template-string coercion.
SMALL LETTERS, LITTLE WONDERS.