🔀 Hiragana to Katakana Converter (Two-Way)
Paste Japanese text to instantly switch between hiragana (ひらがな) and katakana (カタカナ) - bidirectional conversion, full browser, no data sent anywhere.
What is this tool?
Japanese has two phonetic syllabaries: hiragana (ひらがな), used for native words and grammatical endings, and katakana (カタカナ), used mainly for foreign loanwords, emphasis, and scientific names. Every sound in one script has a direct counterpart in the other, so converting between them is a pure one-to-one code-point swap that never changes pronunciation.
This kana converter swaps each character between the two scripts in either direction. It is handy for learners drilling recognition, designers who need katakana emphasis in a mock-up, and editors who must normalise mixed-script text. Pair it with the romaji converter when you also need Latin letters, or the furigana generator when you need reading aids above kanji.
Because the two scripts share a fixed Unicode offset, the conversion is lossless and reversible. Refer to the table below for the standard 1:1 mapping:
| Hiragana | Katakana | Rōmaji |
|---|---|---|
| あ い う え お | ア イ ウ エ オ | a i u e o |
| か き く け こ | カ キ ク ケ コ | ka ki ku ke ko |
| さ し す せ そ | サ シ ス セ ソ | sa shi su se so |
| た ち つ て と | タ チ ツ テ ト | ta chi tsu te to |
| な に ぬ ね の | ナ ニ ヌ ネ ノ | na ni nu ne no |
| は ひ ふ へ ほ | ハ ヒ フ ヘ ホ | ha hi fu he ho |
| ま み む め も | マ ミ ム メ モ | ma mi mu me mo |
| や ゆ よ | ヤ ユ ヨ | ya yu yo |
| ら り る れ ろ | ラ リ ル レ ロ | ra ri ru re ro |
| わ を ん | ワ ヲ ン | wa wo n |
How it works
The converter walks the input one character at a time and checks its Unicode code point. Hiragana occupies U+3041–U+3096 and katakana occupies U+30A1–U+30F6. The two blocks are exactly 0x60 (96) apart, so the rule is simply: when converting hiragana to katakana, add 0x60 to the code point; when converting katakana to hiragana, subtract 0x60. Characters outside both blocks (kanji, Latin letters, digits, punctuation) are left untouched, and the voicing marks ゛ (dakuten) and ゜ (handakuten) stay attached to their base kana.
The table below summarises the code-point arithmetic behind the swap:
| Direction | Range | Operation |
|---|---|---|
| Hiragana → Katakana | U+3041 – U+3096 | codePoint + 0x60 |
| Katakana → Hiragana | U+30A1 – U+30F6 | codePoint − 0x60 |
| Other characters | outside both blocks | passed through unchanged |
| Long-vowel mark | ー / ー | kept as-is (katakana-only) |
Because the mapping is a fixed numeric offset, it is perfectly reversible: converting katakana back to hiragana always restores the original text. For reading the result in Latin letters afterwards, route the output through the romaji converter. If you are unsure how a word reads in the first place, the kanji reading lookup can help.
How to use
- Paste or type Japanese kana text into the input box.
- Pick a direction - Hiragana to Katakana or Katakana to Hiragana.
- Click Convert to see the swapped text instantly.
- Copy the result, or click Convert again to reverse it back.
- Use the reference table to check any kana pair you are unsure about.
Frequently Asked Questions
Does the converter also handle kanji?
No. Kanji are logographic characters outside both kana Unicode blocks, so they pass through unchanged. Only hiragana and katakana are swapped. To get readings for kanji, use a furigana tool instead.
What happens to small kana like ぁ, ゃ, ッ?
Small kana (ぁ ゃ ァ ョ ッ and so on) live inside the same Unicode blocks and are converted just like their full-size counterparts, preserving their small size in the target script.
Are dakuten and handakuten (゛ ゜) handled?
Yes. Voiced and semi-voiced marks such as ゛ and ゜ are separate code points that fall outside the conversion blocks, so they stay attached to whichever kana precedes them and move along with the text.
Will the long-vowel mark ー turn into anything?
No. The ー mark is a katakana-specific character and is kept exactly as typed. In natural hiragana a long vowel is usually spelled with an extra kana, so you may want to adjust that by hand.
Is my text sent to a server?
No. The entire conversion runs as JavaScript in your browser. Nothing is uploaded, stored, or logged, so it is safe to paste personal or draft text.
Can I convert very long text?
Yes. Because the operation is a simple character scan, it handles thousands of characters instantly with no practical length limit.
Tips & Advice
Katakana is not just for loanwords - it is also used for emphasis (the way italics work in English) and for plant and animal names in scientific writing. When you convert a whole paragraph to katakana for practice, remember that long vowels in katakana use the ー mark, while hiragana spells them out (おう, おお). The converter preserves ー exactly as typed, so you may want to adjust those manually for natural hiragana. Punctuation like the ideographic comma 、 and full stop 。 are shared by both scripts and never change. For counting the characters in your converted text, paste it into the Japanese character counter.
Related Tools
Romaji Converter
Convert hiragana and katakana to romaji in Hepburn, Kunrei-shiki, or Nihon-shiki
Furigana Generator
Add furigana readings above kanji in Japanese text. Free browser-based furigana
Okurigana Helper
Check correct okurigana spelling for common Japanese verbs and adjectives. Free
Kanji Reading Lookup
Look up the onyomi and kunyomi readings of any common kanji. Free browser-based
Japanese Character Counter
Count Japanese characters, bytes (UTF-8 and Shift-JIS), and distinguish full-wid
Case Converter
Convert text to uppercase, lowercase, title case, and more online for free. Quic
Sources & References
- Unicode Standard, Chapter 3 — Hiragana (U+3040-309F) and Katakana (U+30A0-30FF) blocks
- WADA Ayako, "Nihongo no hyōki" (Japanese orthography), Iwanami Shoten
Limitations
- This tool converts between hiragana and katakana only; it does not handle kanji-to-kana conversion or romaji input.