Skip to content
All tools

Character & Word Counter

Count characters, words, sentences, paragraphs and lines as you type; see limits for SEO title, meta description, SMS and tweets. Free, in-browser, with API.

·3 runs ·Developer API ↓

Counts as you type. Ctrl+Enter: copy stats.

Result
Characters
0
No spaces
0
Words
0
Sentences
0
Paragraphs
0
Lines
0
Bytes (UTF-8)
0
Reading time
0 sec
SMS0 messages

Plain (GSM-7): 160 characters/message · 160 characters left (per message 160)

  • SEO title0 / 60
  • Meta description0 / 155
  • X (Twitter) post0 / 280
  • YouTube title0 / 100
  • Instagram caption0 / 2,200
  • TikTok caption0 / 4,000
  • Facebook post0 / 63,206

Text is counted right in your browser — never sent to the server, never stored.

Developer API

Developer API

Free

Call this exact tool from your code over JSON REST — same result as on the web, authenticated with an API key.

Endpoint

POST https://sieutool.net/api/v1/tools/char-count

Auth: send the X-API-Key header — create a free key in Account → API keys.

  • Rate limit60 requests/min
  • Daily quota1.000 requests/day
  • PriceFree · up to 1 items/request

Request parameters

ParameterTypeDescription
text *stringVăn bản — Tối đa 200.000 ký tự (mỗi dòng 1 mục)

* required. Send JSON in the body, Content-Type: application/json.

Code examples

curl -X POST 'https://sieutool.net/api/v1/tools/char-count' \
  -H 'Content-Type: application/json' \
  -H "X-API-Key: $NXP_API_KEY" \
  -d '{"text":"SieuTool – bộ công cụ miễn phí cho người Việt.\nĐếm ký tự, từ và số tin SMS."}'

Sample response

{
  "ok": true,
  "tool": "char-count",
  "version": "1.0.0",
  "data": {
    "chars": 75,
    "chars_no_spaces": 58,
    "words": 17,
    "sentences": 2,
    "paragraphs": 1,
    "lines": 2,
    "bytes_utf8": 101,
    "reading_s": 6,
    "speaking_s": 8,
    "sms": {
      "encoding": "UCS-2",
      "units": 75,
      "segments": 2,
      "per_segment": 67,
      "remaining": 59
    },
    "limits": [
      {
        "key": "seo_title",
        "max": 60,
        "used": 75,
        "over": true
      },
      {
        "key": "meta_desc",
        "max": 155,
        "used": 75,
        "over": false
      },
      {
        "key": "tweet",
        "max": 280,
        "used": 75,
        "over": false
      },
      {
        "key": "yt_title",
        "max": 100,
        "used": 75,
        "over": false
      },
      {
        "key": "ig_caption",
        "max": 2200,
        "used": 75,
        "over": false
      },
      {
        "key": "tiktok_caption",
        "max": 4000,
        "used": 75,
        "over": false
      },
      {
        "key": "fb_post",
        "max": 63206,
        "used": 75,
        "over": false
      }
    ],
    "top_words": [
      {
        "word": "bộ",
        "count": 1
      },
      {
        "word": "cho",
        "count": 1
      },
      {
        "word": "công",
        "count": 1
      },
      {
        "word": "cụ",
        "count": 1
      },
      {
        "word": "đếm",
        "count": 1
      },
      {
        "word": "ký",
        "count": 1
      },
      {
        "word": "miễn",
        "count": 1
      },
      {
        "word": "người",
        "count": 1
      },
      {
        "word": "phí",
        "count": 1
      },
      {
        "word": "sieutool",
        "count": 1
      }
    ]
  }
}

Try it (live call)

No API key yet? Sign in and create a free key, then paste it below. Create API key
Paste your API key (kept in this page only, never stored) and send a request. Test requests count toward your key's rate limit.

Main error codes

HTTPcodeMeaning
400BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER…Invalid input — the message names the field
401MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEYMissing, invalid or revoked API key
429RATE_LIMITED / IP_RATE_LIMITEDPer-minute rate limit exceeded — wait for Retry-After
429DAILY_QUOTA_EXCEEDEDDaily quota used up — the upgrade field suggests a paid plan
429CLUSTER_QUOTA_EXCEEDEDLinked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account
503SERVER_BUSY / TOOL_BUSY / API_DISABLEDServer under heavy load or API paused — wait for Retry-After

Every response carries X-RateLimit-Remaining / X-RateLimit-Remaining-Day; 429/503 errors include Retry-After (seconds).

How to use

Online character counter: paste or type text to instantly see characters (with and without spaces), words, sentences, paragraphs, lines, UTF-8 size and reading time — plus limit bars for SEO titles, meta descriptions, tweets, captions and SMS segments. Everything runs in your browser.

  1. Paste or type text into the box (or click Try an example).
  2. The stats update as you type: characters, words, sentences, paragraphs, lines, bytes, reading time.
  3. Check the limit bars (SEO title 60, description 155, tweet 280, SMS…) — a bar turns red when over. Click Copy stats to share.

Frequently asked questions

Both are shown: "Characters" counts everything including spaces and line breaks; "No spaces" excludes spaces, tabs and line breaks. Text is NFC-normalized so accented letters always count as 1.

Each run of letters/digits separated by whitespace is one word, like Word and Google Docs. Standalone punctuation is not a word.

GSM-7 SMS: 160 characters, or 153 per part when concatenated. Any non-GSM character (accented Vietnamese, emoji) switches to Unicode: 70 per message, 67 per part. The tool detects this and shows the segment count.

Keep titles under about 60 characters and meta descriptions under about 155 so Google truncates less. Google actually truncates by pixel width, so treat these as guidelines.

No. Text is counted in your browser, never sent to the server or stored; the server only records 1 run. With the API the text is sent and counted in memory, not stored.
  • Reading time assumes 200 words/minute, speaking 130 words/minute.
All Text tools →
Sends only the tool name, the last error code and your browser type — never what you typed.