PDFのミカタ

文字数とバイト数の違い

公開日:2026年10月19日|最終更新:2026年10月19日|運営者情報

この記事のポイント
  • 日本語は1文字が複数バイト
  • UTF-8で数える
  • 制限がバイトのときに確認

「文字数」と「バイト数」は、別のものです。システムの入力欄や、データベースの制限では、バイト数が使われることがあります。文字数カウント(エントリーシート・レポート用) は、UTF-8でのバイト数も表示します。

違い

UTF-8でのバイト数の目安

手順

  1. 「文章」の欄に、文章を貼り付けます。
  2. 「バイト数(UTF-8)」の欄を見ます。
  3. 制限のバイト数と比べます。
文字コードによって、バイト数が変わります。このツールは、UTF-8で計算します。

例

実際の値は、ツールの表示で確かめます。

バイト数が使われる場面

全角のほうが多く数える

同じ文字数でも、日本語は、英語の約3倍のバイト数です。バイト数で制限がある場合は、日本語は、文字数が少なくなります。

例

「100バイトまで」の入力欄。日本語なら、約33文字まで。英数字なら、100文字まで。

つまずきやすい点

よくある質問

バイト数と、ファイルの容量は同じですか?

文字だけのテキストファイルなら、ほぼ同じです。

まとめ

文字数とバイト数は別。制限がバイトなら、日本語は1文字約3バイトで計算しましょう。

文字数カウント(エントリーシート・レポート用)を使う(無料)

あわせて使えるツール

この解説が役に立ったら、応援してもらえるとうれしいです。

応援する(300円)ほしい物リストで応援

同じツールの、ほかの解説

解説の一覧を見る

Characters vs. Bytes

Published: Oct 19, 2026 | Updated: Oct 19, 2026 | About (Japanese)

Key points
  • Japanese characters use several bytes
  • Counted in UTF-8
  • Check when the limit is in bytes

"Character count" and "byte count" are different things. System input boxes and database limits sometimes use bytes. Character Counter (for Applications and Reports) also shows the byte count in UTF-8.

The difference

Guide to UTF-8 bytes

Steps

  1. Paste text in the "Text" field.
  2. Look at the "Bytes (UTF-8)" field.
  3. Compare with the byte limit.
The byte count changes with the character encoding. This tool calculates in UTF-8.

Examples

Check the actual value in the tool's display.

Where bytes are used

Full-width counts more

For the same number of characters, Japanese takes about three times the bytes of English. When there is a byte limit, Japanese allows fewer characters.

Example

An input box with "up to 100 bytes". In Japanese, about 33 characters. In letters and digits, 100 characters.

Common stumbling blocks

Frequently asked questions

Are bytes and file size the same?

For a text-only file, nearly the same.

Summary

Characters and bytes are separate. If the limit is in bytes, calculate Japanese at about 3 bytes per character.

Use "Character Counter (for Applications and Reports)" (free)

Tools that go well with this

If this guide helped, a small tip would mean a lot.

Send a tip (¥300)Send a gift (Amazon wishlist)

More guides for this tool

See all guides