Kankan

About Kankan

Kankan counts text. The same text gives different numbers depending on whether spaces are included, how a line break is counted, and whether you count characters or bytes. Kankan puts those rules side by side.

The name comes from 칸 (kan), one square on Korean manuscript paper: one square, one character.

The rules and where they come from

How the results are checked

The counting code is kept apart from the page and is covered by about 35,000 automated tests. The expected values were not produced by writing the same logic twice. They come from Python's standard codecs and Unicode libraries, from the twitter-text package, and from three independent SMS calculators.

Where your text goes

The text you type or paste stays on your device. It is counted inside your browser, and this site has no server that receives it. Ads are served by Google AdSense and visit statistics come from Cloudflare Web Analytics; your text is not part of either. The details are in the privacy policy.

Who makes it

Kankan is made by Lumen Lab. If you find a wrong number, write to contact@lumenlab.page.