● OPEN-SOURCE JAPANESE LANGUAGE LIBRARY

Japanese,
in another reading.

Turn Japanese text into hiragana, katakana or romaji. Add readings with furigana. One JavaScript library, more ways to read.

JavaScript   /   Node.js & browser   /   MIT licensed

ONE LANGUAGE, MANY READINGS01 — 04
KANJI
HIRAGANAくろしろ
KATAKANAクロシロ
ROMAJIkuroshiro

A little clarity, character by character.

01 / CONVERT

Choose your reading.

Hiragana, katakana and romaji, with normal, spaced, okurigana and furigana output modes.

02 / CUSTOMIZE

Make it fit your project.

Choose Hepburn, Nippon or Passport romanization. Use an analyzer suited to your environment.

03 / BUILD

From learning to creating.

Add reading aids to a Japanese learning tool, annotate text, or explore pronunciation in your own app.

THE PLAYGROUND

Give your words another form.

Real conversion, right here.
No account. No conversion server.

日本語 · up to 5,000 characters
Your readingCONVERTED OUTPUT

Start the demo to load the dictionary, then convert your text.

↳ Loaded only when you start: about 17 MiB of dictionary files, plus library scripts. Repeat visits may use your browser’s cache. Your text stays in this browser.

SMALL API. MANY POSSIBILITIES.

A few lines.
A new way to read.

Install kuroshiro and an analyzer, initialize once, then convert. This example uses Kuromoji in a JavaScript module environment.

Read the documentation ↗
QUICK STARTJavaScript
npm install kuroshiro kuroshiro-analyzer-kuromoji
import Kuroshiro from "kuroshiro";
import KuromojiAnalyzer from "kuroshiro-analyzer-kuromoji";

const kuroshiro = new Kuroshiro();
await kuroshiro.init(new KuromojiAnalyzer());

const text = "感じ取れたら手を繋ごう、重なるのは人生のライン and レミリア最高!";
const result = await kuroshiro.convert(text, {
  to: "hiragana"
});

BUILT IN THE OPEN

Better with your ideas.

Found an unexpected reading? Have a use case to share?
Issues, improvements and contributions are welcome.

Explore on GitHub ↗