Full-width / NFKC normalization API
NFKC-based text normalization that absorbs Japanese form-input variants before they pollute your database, with trim / whitespace-collapse options.
Endpoint
| Method | Path |
|---|---|
GET | /api/v1/normalize |
Example
curl "https://formfit.dev/api/v1/normalize?text=A123ガ" \
-H "Authorization: Bearer YOUR_API_KEY"
Response (excerpt)
{"normalized":"A123ガ","changed":true}
FAQ
- Does it convert hiragana to katakana?
- No — NFKC does not change kana type (half-width kana does become full-width). Use romaji/furigana for readings.