What This Tool Does
Character Counter is a free browser tool that counts text, words, lines, and platform limits as you type. It is built for writers, marketers, support teams, and social media editors who need one reliable screen for X/Twitter 280, SMS 160 or 70, Bluesky 300, Threads 500, LinkedIn 3,000, Instagram 2,200, YouTube, meta titles, and meta descriptions.
Inputs Explained
- Text: Paste a caption, post, title, SMS, or draft message. Counts update immediately.
- Platform bars: Each bar compares the current character count with a fixed platform limit such as 280 for X or 160 for a GSM-7 SMS segment.
- SMS encoding: The tool checks whether the text fits GSM-7. If it contains emoji or other non-GSM characters, the SMS limit switches to 70.
- Copy Stats: Copies the visible count summary so you can paste it into a brief, checklist, or content QA note.
- Clear: Removes the current text and resets every count, warning color, and segment estimate.
How It Works
The counter converts the text into an array of Unicode code points, counts words with a whitespace token match, and then compares the character total against every configured platform limit. A progress bar stays green below 80%, turns yellow from 80% to 99%, and turns red at or above 100%. SMS is special because a plain GSM-7 message allows 160 characters, while Unicode UCS-2 messages usually allow 70 characters per segment.
Formula / Logic Used
Character Counter
Count characters and words while tracking X, SMS, Bluesky, Threads, SEO, and social caption limits.
Live Counts
Platform Limit Progress
Step-by-Step Example
Sample input: A launch announcement with 245 characters and 39 words.
Sample output: X/Twitter shows 245 / 280, SMS shows 2 GSM-7 segments if the text is longer than 160, and the meta description bar warns because 245 is above the 160-character SEO target.
Explanation: The same text can be safe for LinkedIn but too long for an SMS or meta description. The progress bars make those differences visible without switching tools.
How to read the result: Use the output from Character Counter as a practical decision aid, not just a raw number or decorative conversion. First, confirm that the sample input represents the same kind of text you plan to publish, submit, paste, or share. Then compare the main output with the formula and notes above it. If a result looks surprising, change one input at a time and watch how the output changes. This makes the tool useful for planning, editing, and quality checks because you can see which setting actually moved the result.
Recommended workflow: Draft normally, paste the finished text into the tool, and make a first pass using the default settings. After that, adjust the options to match the real destination: a social platform limit, a document format, an audience reading speed, a Unicode style, a rewrite tone, or a summary length. Copy the output only after you have checked spelling, names, numbers, and context. For client work, classroom work, and publishing workflows, keep the original text nearby so you can compare the generated output before using it.
Quality checks: Review any transformed text in the exact app or editor where it will be used. Unicode effects, line breaks, sentence splitting, and platform limits can behave differently across devices and fonts. If the output will be read by customers, students, search visitors, or screen-reader users, prefer clarity over decoration. If the output is a calculation, treat it as an estimate and leave a small buffer. If the output is a rewrite or summary, verify that the meaning, facts, and tone still match your intent.
Validation tip: For repeatable work, save the input settings in your brief or checklist along with the copied result. A small note such as "12 pt, double spaced, normal margins" or "average reading speed, conversational speaking rate" prevents confusion later. For text generators, paste the output into a plain-text field first to confirm that it remains selectable, searchable, and visually acceptable. For summarizing and paraphrasing, compare at least one sentence against the source before sharing it with someone else. This extra review takes less than a minute and prevents most formatting, accuracy, context, and handoff mistakes in real publishing workflows and team reviews.
Privacy note: The working area is intentionally local. The JavaScript reads the fields already on this page, calculates or transforms the text in your browser, and writes the result back into the visible result box. That local workflow is why the page can be useful for drafts that are not ready for external services. The ad, analytics, and notification scripts are part of the shared site template, but the tool-specific text processing does not call a text API, upload your draft, or store the result.
Use Cases
- Social media publishing: Check X/Twitter 280, Bluesky 300, Threads 500, Mastodon 500, Pinterest 500, and LinkedIn 3,000 before scheduling posts.
- SMS campaign QA: See whether a message uses a 160-character GSM-7 segment or a 70-character Unicode segment because of emoji or special symbols.
- SEO snippet writing: Keep meta titles near 60 characters and meta descriptions near 160 characters for cleaner search snippets.
- Video metadata: Draft YouTube titles under 100 characters and descriptions under 5,000 characters in one editor.
- Content handoff: Copy the count summary into an approval comment so editors know exactly which limits were checked.
Assumptions and Limitations
- Array.from improves emoji counting compared with text.length, but full grapheme clusters such as family emoji can still be counted as multiple visible units.
- Platform limits can change. The tool uses the fixed limits listed on this page: X/Twitter 280, SMS 160 or 70, Bluesky 300, Threads 500, and the other stated values.
- Some platforms apply extra URL shortening, media attachment, or mention rules that are not reproduced here.
- SMS segment math is simplified to one segment size. Carriers may use concatenation headers that reduce multi-part segment capacity.
Frequently Asked Questions
How many characters are in my text
Paste your text into the box and the live counter shows the totals instantly — characters with spaces, characters without spaces, words, sentences, and lines. So if you type "Hello world", it shows 11 characters with spaces, 10 without, and 2 words. The counter updates as you type or paste, so there's no "calculate" button to press. Useful for tweets, meta descriptions, SMS messages, or any field with a character cap that you need to respect.
How to count characters with spaces online
The counter shows two numbers side by side: characters including spaces and characters excluding spaces. "Hello world" is 11 with spaces, 10 without. Some platforms count spaces (Twitter/X, SMS, meta descriptions), while others ignore them when measuring writing length. Knowing both numbers means you can match whichever rule the platform uses. Just paste and read — there's no setting to flip and no "include spaces" checkbox to remember. The display handles it automatically.
What is the character limit for x post with spaces
A standard X (Twitter) post allows 280 characters, and that count includes spaces, punctuation, hashtags, and link previews. Premium accounts can post longer threads but the 280 limit still applies to the visible portion in the timeline. Paste your draft into the counter and watch the character total as you trim. URLs are auto-shortened by X to a fixed 23 characters, so a long link doesn't blow your budget the way it looks. Plan accordingly.
How many characters should a meta description be
Aim for around 150 to 160 characters for a meta description. Google typically truncates anything beyond that with an ellipsis in search results, so the key message gets cut off. Mobile snippets can be even shorter. Paste your description into the counter and target 155 to stay safe. Include your primary keyword early, write it naturally, and don't bother stuffing — Google often rewrites descriptions anyway, but a clean one increases the chance yours actually gets shown in the SERP.
How to count characters in an sms message
A standard SMS holds 160 characters when written in plain GSM-7 encoding (basic English letters and common punctuation). The moment you add emojis or accented characters, the message switches to Unicode (UCS-2) and the limit drops to 70 characters per segment. Longer messages get split into segments that bill separately. Paste your text into the counter to check your length before sending — especially useful if you're running an SMS campaign or coding an OTP system.
How many characters fit in an instagram bio
Instagram caps the bio at 150 characters, including spaces, line breaks, emojis, and hashtags. Paste your draft into the counter and you'll see exactly where you stand. Emojis often count as one character on the screen but two or four behind the scenes, so what looks like 140 may actually be over the limit. The counter handles that. If you're tight on space, drop adjectives, use symbols instead of words, or shorten links.
How to check character count before posting online
Paste your draft into the counter before you publish. The character total updates live as you edit, so you can trim wording until you fit the limit — 280 for X posts, 150 for Instagram bios, 60 for YouTube titles, 160 for meta descriptions. Type and tweak until the number sits right. It saves the awkward moment of writing the perfect post, hitting publish, and getting a "too long" error from the platform. A small but genuine time-saver.
Sources and References
- X Help Center - How to post - Official posting guidance for X, formerly Twitter.
- Wikipedia - SMS - Overview of SMS message encoding, segments, and character limits.
- Unicode Consortium - Code Charts - Official charts for Unicode letters, symbols, combining marks, and styled alphabets.
- MDN - JavaScript String length - Reference for JavaScript string behavior and character counting caveats.
Related Calculators
What this tool does
Character Counter turns the visible inputs on the page into a specific result and keeps the calculation context close to the form. The added notes identify what the output means, which assumptions matter, and when the result should be checked against source data or official guidance.
How to use this tool
- Enter the values requested by the form, keeping units, formats, and date fields consistent.
- Run the calculation or conversion and review each output label before using the result elsewhere.
- Compare important results with the page notes, examples, or official references when accuracy affects money, safety, configuration, or reporting.