belun.app Blog RU

Character Count Online: Why It Matters and How to Do It Right

A practical guide to character counting for social media, SEO, SMS, and coding — with tips on platform limits and how different tools count.

Typing on a keyboard — counting characters for social media and SEO

You’ve been there: you paste a caption into Instagram, hit Post, and get a hard cut mid-sentence because you accidentally went over the limit. Or you send an SMS and it splits into two messages instead of one, costing you double. Character counting sounds trivial until it isn’t — because every platform counts differently, and the differences are not always obvious.

Why character count matters by platform

Twitter / X caps a post at 280 characters, counting every Unicode character including spaces. URLs are normalized to 23 characters regardless of actual length. Emojis count as one code point in modern clients.

SMS is where things get interesting. It uses GSM-7 encoding by default, which gives you 160 characters per single message. Include any character outside that set — most accented letters, smart quotes, or emoji — and the message switches to UCS-2, which drops the limit to 70 characters per segment. One stray emoji in a 140-character message turns it into a two-part SMS that costs twice as much to send.

Instagram allows up to 2,200 characters in a caption, but only around 125 are visible before the “more” link. Front-load your key message — the rest gets buried.

LinkedIn posts cap at 3,000 characters. Company page updates have a tighter limit of 700 characters.

Meta title tags should stay under 60 characters to display fully in Google search results. Meta descriptions are best kept under 160 — longer ones get truncated with an ellipsis, which looks unprofessional in a SERP.

With spaces vs. without — which count to use?

Most social media platforms count characters with spaces. SMS and some East Asian platforms count without. When in doubt, check the platform’s documentation. Or just keep an eye on both numbers simultaneously.

Our Character Counter always shows both figures side by side.

Letters vs. total characters

Sometimes you need to separate letters from punctuation, digits, and spaces — for password policies, word puzzles, or data validation. The letter count uses Unicode’s \p{L} category, which correctly identifies letters in any script: Latin, Cyrillic, Arabic, CJK, and more.

Counting lines and words

Line count matters for git commit messages (most style guides ask for a subject line under 50–72 characters with body lines wrapped at 72), code review tools, and multi-line form fields with row limits.

Word count and character count overlap for readability checks. A 500-word blog intro runs roughly 2,800–3,200 characters with spaces — knowing both numbers helps you estimate content volume.

Common mistakes

Forgetting bytes vs. characters. Some database columns have a byte limit, not a character limit. A single Cyrillic or Chinese character takes 2–3 bytes in UTF-8. If you’re trimming user input at the database layer, count bytes in your backend — not characters in the browser.

Smart quotes and dashes from Word or Google Docs. “Curly quotes” and em-dashes (—) are single Unicode characters but may behave differently in systems that expect ASCII. If your copied text is failing a character validation, this is usually why.

Newlines. A newline is one character. On Windows, line endings are two characters (\r\n), which can give you surprising differences when comparing counts across systems.

How to use the tool

The Character Counter runs entirely in your browser — no server, no upload, no account. Paste your text and every counter updates instantly: total characters, characters without spaces, letters, digits, words, and lines. Useful for a quick check before posting, or for keeping a running tally while you draft.

Try the tool

Character Counter →