Half-Width Character Checker
Check whether text contains half-width characters, such as Latin letters, digits and half-width katakana, right in your browser.
Input
Output
No value
Guide
What are half-width characters?
Chinese, Japanese and Korean characters each fill a square, about twice as wide as a Latin letter. Half-width characters take half of that square: the ordinary Latin letters, digits, punctuation and space, and a set of narrow katakana (a Japanese script), such as ラーメン for ramen, that early Japanese computers used when each character had to fit in one byte. Their full-width partners are the usual katakana, as in ラーメン, and full-width copies of the letters and digits, as in Hello 123. Half-width katakana still turn up in Japanese bank account names, on receipts and in older systems.
Japanese forms often want full-width text in some fields, such as the reading of a name in full-width katakana, and half-width text in others, such as phone numbers. Developers check input against those rules, and anyone can check text before pasting it into such a form.
Tool description
Type or paste text into the Text box, and the result shows as you type: "The text contains half-width characters." or "The text has no half-width characters." One half-width character anywhere is enough for a yes, and an ordinary space counts: こんにちは 世界, with a normal space between the words, gets a yes, while こんにちは 世界, with a full-width space, doesn't. Line breaks and tabs don't count as half-width. The page has no settings.
What counts as half-width
The checker follows a narrow rule from validator.js: only plain ASCII characters (English letters, digits, punctuation marks and the space) and the half-width forms count.
- English letters, digits, punctuation and the ordinary space, as in
Hello 123!. The digit inカタカナ1is one. - Half-width katakana, such as
ラーメンandペン, where the sound marks are characters of their own - Half-width Japanese punctuation, such as
。and「, and half-width Hangul letters
What doesn't count
- Full-width letters, digits and signs:
Hello,123,!and the full-width space - Chinese characters, hiragana, full-width katakana and Hangul syllables:
漢字,こんにちは,ラーメン,안녕 - Accented letters, Greek and Cyrillic letters and emoji:
éalone has no half-width characters, whilecaféhas three - Line breaks and tabs
Good to know
- The result doesn't say which character it found or how many there are.
- To find out whether text mixes the two widths, use the Mixed-Width Text Checker.
- The Unicode Normalizer, which starts on NFKC, turns half-width katakana into full-width ones, and full-width letters and digits into plain ones.
Features
- Spots half-width katakana and Japanese punctuation
- Finds plain letters, digits and spaces in Japanese, Chinese or Korean text
- Full-width characters, line breaks and tabs don't count
- Results as you type, with no button to press
- Runs in your browser, so nothing you type is sent anywhere