Text Counter

Generate and inspect ID/random/timestamp values in your browser. No input is sent to a server. Use it for first-pass spec compliance checks.

Status

Runs in your browser. No input is sent to a server. Use this as a first-pass diagnostic step.

How to use

Paste text and click Count. Check counts with/without newlines and full-width/half-width perspectives.

Notes (this tool)

  • Character counting rules differ by platform. Follow the destination platform/spec definition first.
  • Emojis and combining characters may look like one character but consist of multiple code points.

About this page

What does this tool do?

Shows counts with/without newlines, line count, and full-width/half-width/other breakdown in one run.

Useful for post length tuning, form-limit checks, and quick log snippet measurement.

Counting model

  • chars: total count by sequential string iteration
  • chars (no newline): excludes newline chars (CR/LF)
  • lines: line count by newline splitting
  • full/half/other: practical classification by Unicode ranges

What this tool does

  • Total / without newlines
  • Full-width / half-width breakdown
  • Line count

Notes

  • Emoji sequences (for example family emoji) may look like one glyph but count as multiple elements.
  • Full/half-width is a practical classification and may differ from product-specific rules.

Debugging workflow (recommended)

  • Generate or paste a value
  • Check format, timestamp, and character constraints
  • Confirm against destination validation requirements

Referenced specs

  • Unicode UAX #29 (Text Segmentation)
  • Unicode UAX #11 (East Asian Width)
  • ECMAScript (String Iterator)

FAQ

Why does the count differ from social platforms or CMS?

Each platform uses custom rules (URL weighting, emoji handling, newline logic). This tool uses a general Unicode-based count.

Does CRLF vs LF change the “without newlines” count?

Both newline styles are excluded, so results are usually equivalent. Differences may appear if hidden characters are included.

References

  1. Unicode UAX #29
  2. Unicode UAX #11
  3. ECMAScript String Iterator

These links are generated from site_map rules in recommended diagnostic order.

  1. UTM Builder — Build URLs with UTM parameters
  2. Query String Parser — Parse query strings and list parameters
  3. URL Encode/Decode — Convert URL encoding and decoding both ways
  4. Base64 — Encode/decode Base64 with UTF-8 handling