Kana → Romaji API (Hepburn/Kunrei)
Converts hiragana/katakana to Hepburn or Kunrei romaji, handling geminates (matcha), digraphs (sha/sya) and n→m before b/p/m (shimbun).
Endpoint
| Method | Path |
|---|---|
GET | /api/v1/romaji |
Example
curl "https://formfit.dev/api/v1/romaji?text=とうきょう" \
-H "Authorization: Bearer YOUR_API_KEY"
Response (excerpt)
{"romaji":"toukyou","system":"hepburn"}
FAQ
- Does it handle kanji?
- No — readings are ambiguous. Convert names to kana with the furigana API first.