Text counter

Live metrics to validate form limits, SEO, and APIs.

{{ t("characters") }}: {{ counterStats.characters }}
{{ t("withoutSpaces") }}: {{ counterStats.charactersNoSpaces }}
{{ t("words") }}: {{ counterStats.words }}
{{ t("lines") }}: {{ counterStats.lines }}

Overview

Counting characters and words is one of the oldest text processing tasks — and, surprisingly, it remains a daily necessity for anyone who writes professionally. In the typewriter era, newspaper editors had physical space constraints: a headline could not exceed a certain column width, which translated directly into a maximum character count. Today the limits are digital but equally rigid: a page's meta description should be between 120 and 160 characters to avoid truncation in Google's search results; image `alt` text should be concise; form fields have validation that rejects inputs that are too long.

Social media popularized character limit culture in a way that an entire generation grew up knowing intimately. Twitter (now X) launched with a 140-character limit inspired by SMS — which were themselves limited to 160 characters due to technical constraints of the GSM protocol from the 1980s. When Twitter doubled to 280 in 2017, it sparked a genuinely interesting debate about how limits force creativity. Instagram, LinkedIn, and WhatsApp all have their own character limits for bios, posts, and messages. Any developer working on a frontend will sooner or later need a character counter for UI field validation.

For long-form writers — copywriters, journalists, academics, authors — word count is the primary metric. Traditional journalism conventions defined a standard article at 500 to 800 words; in-depth pieces from 1,500 and up. In the digital world, SEO studies show that posts over 2,000 words tend to perform better in organic rankings because they signal content depth. The average adult reading speed is approximately 200 to 250 words per minute — so 2,000 words equals roughly 8 to 10 minutes of reading, which matters when estimating reading time displayed on platforms like Medium.

This tool counts in real time, in the browser, without sending your text anywhere. The definition of word used is the most common one: character sequences separated by spaces and punctuation. This may diverge slightly from specialized tools for languages that do not use spaces to separate words, like Chinese or Japanese — but for English, Portuguese, and Spanish it works very well as a quick reference. If you need more detailed metrics by sentence, use the Sentence Counter on this site.

Technical deep dive

Common questions summarized

  • What is this tool for?: It runs fully in your browser: useful to validate, format, or convert data in everyday development.
  • Are my inputs sent to a server?: Processing happens locally with JavaScript. We do not store what you paste into the text areas.
  • Can I use this for real production data?: Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.

Sample payload to try

  • See also the larger "Code Snippets" sample; paste this excerpt to try locally: Common limit — Meta description: muitas equipes usam até ~160 caracteres como referência.

Tool guide

  • What you are working with Any text: characters, words (space-based heuristic), and lines.

  • What the tool does Shows live counts.

  • Why use it Form limits, SEO meta descriptions, tweets, size checks before calling an API.

Code Snippets

Code example
Meta description: muitas equipes usam até ~160 caracteres como referência.

Common limit

Meta description: muitas equipes usam até ~160 caracteres como referência.

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.