Text Toolkit - Full Width, Word Frequency, Numbering & Replace
Four text jobs in one page: full/half width conversion, Chinese and English word frequency, line numbering and regex find-replace. All local and instant.
Last updated: 2026-11-20
Text Toolkit
Converts ASCII characters and spaces only; Chinese characters are unchanged.
Chinese is counted per character, English per word and numbers separately; sorted by count.
Number each line with your start value and separator; original breaks and spacing are kept.
Plain text by default; enable regex for capture groups such as ($1).
How to use Text Toolkit
Four everyday text jobs in one page: full/half width conversion, Chinese and English word frequency, line numbering and find-and-replace. Paste once and switch modes instantly; frequency counts Chinese per character and English per word, and replacement supports regular expressions and capture groups. Everything runs locally.
- 1
Full / half width
Pick a direction and the text converts immediately. Full width to half width is useful for numbers and punctuation pasted from Chinese input methods; the reverse is for layouts that need full-width characters. Chinese characters are never changed.
- 2
Word frequency
Chinese is counted per character, English per word and numbers as values. Set a minimum length and a result limit; matches are sorted by count with a percentage share.
- 3
Line numbering
Add a number to every line with a configurable start value and separator (a dot and space by default). Blank lines can be skipped; existing line breaks and indentation are preserved.
- 4
Find and replace
Fill in the two fields to replace every occurrence. Enable regex for pattern edits and use $1 to reference capture groups. Case sensitivity is off by default and can be turned on.
Key features
Paste once, use four ways
All modes share one input and one output, so switching never loses your text and you do not need four tabs open.
Frequency with shares
Mixed Chinese and English text is tokenised automatically. Results show counts and percentages, with a minimum length and top-N filter for long documents.
Regex-ready replacement
Plain text and regex share the same two fields. Captures work, and an invalid pattern shows a clear error instead of corrupting the text.
Stays in the browser
All four modes are local string operations with no upload or logging, which is suitable for internal drafts and unpublished material.
Common use cases
Cleaning copied web text
Convert full-width digits and punctuation to half width first, then run frequency or numbering on a cleaner string.
Reviewing a draft
Use word frequency to see which terms repeat, check whether the main topic stands out, or spot keyword stuffing.
Numbering an action list
Paste meeting action items, choose a start number and separator, and number every line in one pass.
Reformatting dates or links
Match date or URL fragments with regex captures and reassemble them with $1 instead of editing each line by hand.
Preparing imported data
Spreadsheet exports often contain full-width spaces and fixed prefixes: convert widths, then strip the prefix with find and replace.
Frequently asked questions
How does word frequency split text?
Runs of Chinese characters are counted per character, runs of English letters per word (case-insensitive), and runs of digits as numbers. Punctuation and whitespace are ignored.
Will width conversion change Chinese characters?
No. Only the full-width ASCII range (FF01-FF5E) and the full-width space (U+3000) are converted; Chinese characters and Chinese punctuation stay as they are.
Can regex replacement use capture groups?
Yes. With the regex option enabled, write $1 or $2 in the replacement field. The syntax follows JavaScript String.replace.
Why did replacement change the capitalisation?
Case sensitivity is off by default, so matches are found regardless of case and all become the replacement text. Enable case sensitivity for strict matching.
What happens to blank lines when numbering?
By default they are kept but do not consume a number. Turn off the skip option to number them as well.
Is long text a performance problem?
All four modes are local string operations and are instant for a few thousand characters. Frequency renders only the top N rows, which you can lower.
Related tools
Emoji List
Browse 1700+ emoji by category, search by English or Chinese name and copy any in one click. Names, code points and recent history included.
Wubi 86 Root Key Chart
Browse the Wubi 86 root key chart: 25 keys across five stroke zones with key names, mnemonics, roots and one-key shortcuts, plus a root lookup search.
Duplicate Line Remover
Free duplicate line remover: paste a list, keep unique lines in first-seen order or find repeats ranked by frequency, with case and full-width options.
Number to Words Converter
Free number to words converter: turn digits into English readings, currency amounts, cheque wording and ordinals, with US or UK style and three case options.
Chinese Simplified-Traditional Converter
Free converter between Simplified and Traditional Chinese with three target variants: general Traditional, Taiwan standard and Hong Kong standard, with word-level conversion from OpenCC dictionaries.
Chinese to Pinyin Converter
Free converter that turns Chinese text into pinyin with word-level polyphone detection, outputting toned pinyin, plain pinyin and first letters in one pass.
Text to Speech
Free online text to speech: pick any system voice, adjust rate, pitch and volume, and have long text read sentence by sentence with pause, resume and stop.
Special Symbols
Copy and paste special symbols: arrows, stars, hearts, maths, circled numbers, currency, shapes, brackets and CJK marks, sorted into 11 searchable groups.
Kaomoji
Copy and paste kaomoji: 100+ Japanese text emoticons sorted by mood — happy, sad, angry, shy, animals and classics, with search, random pick and copy group.
Text Diff
Free text diff: paste two versions and see added, removed and changed lines side by side, with word-level highlighting and optional case or whitespace ignoring.
