🇬🇧EN

Character & Byte Counter

Count characters, words, lines and UTF-8 byte size of any text.

✨ What do you want to try next?

You've finished this tool — here are a few you might find useful.

Explore 100+ free toolsPDF, Image, Text, Convert, Calculate and more — all free.View all tools →

About the Character & Byte Counter

This counts your text four ways at once — characters, UTF-8 bytes, words and lines — with the byte size being the part most tools skip. Developers and technical writers need it when something is measured in bytes rather than characters: a database column with a byte limit, an API field cap, a meta description budget, a config value, or a JSON payload. Seeing characters and bytes side by side makes it obvious when non-ASCII content is quietly eating extra space.

Just need a plain word/character count without the byte details? Try the Word Counter.

How it works

  • Characters counts Unicode code points, so most emoji and accented letters count as one.
  • Bytes (UTF-8) encodes the text as UTF-8 and measures the actual byte length — the real size the text occupies in a file, database or network request.
  • Words splits on whitespace.
  • Lines counts newline-separated lines.

Everything updates live as you type or paste.

Assumptions and behaviour

  • Byte count is UTF-8, the dominant encoding for the web, files and most databases. In UTF-8, plain ASCII characters are 1 byte each, common accented and Greek/Cyrillic letters are 2 bytes, most other scripts 3 bytes, and many emoji 4 bytes or more.
  • Characters are counted as code points, which is why a string can have far more bytes than characters when it contains non-ASCII content.
  • Words are whitespace-separated; a trailing newline still counts as ending a line.

Limitations

  • Character count is code points, not grapheme clusters. Some emoji are built from several code points (skin-tone variants, flags, family emoji), so they can count as more than one "character" even though they render as a single glyph.
  • The byte figure is UTF-8 specifically. Other encodings differ — UTF-16 (which JavaScript uses internally) and legacy encodings would give different byte counts.
  • SMS length isn't the same as UTF-8 bytes. Texting uses GSM-7 or UTF-16 segmentation, so use this as a general size guide, not an exact SMS-segment counter.
  • It measures size; it doesn't validate or transform the text. To actually encode the text (not just measure it), see Base64 Text Encoder.

Privacy

Counting runs entirely in your browser. Your text is never uploaded or stored.

Frequently asked questions

Is this counter free?

Yes — free, no sign-up, no limits, runs in your browser.

How many bytes is my string?

Paste or type the text and the byte counter shows its UTF-8 byte length live, alongside the character count. It works as a plain byte counter for any string — ASCII characters are 1 byte each, and accented, non-Latin or emoji characters take more.

Why are there more bytes than characters?

The byte count is UTF-8, where non-ASCII characters take 2–4 bytes each. So text with accents, non-Latin scripts or emoji has more bytes than characters.

Which encoding is the byte count?

UTF-8 — the standard for the web, files and most databases. ASCII is 1 byte per character; other characters take more.

Can I use this to check SMS length?

As a rough guide only. SMS uses GSM-7 or UTF-16 segmentation, not UTF-8 bytes, so the exact segment count can differ.

How are emoji counted?

As Unicode code points. Some emoji combine several code points (flags, skin tones, families), so they may count as more than one character while showing as one glyph.

Is this good for meta tag or database field limits?

Yes. Check characters against character limits (like meta tags) and UTF-8 bytes against byte-limited fields.

Is my text uploaded?

No. Everything runs locally in your browser; nothing is sent or stored.

Lakshay Kumar

Written by Lakshay Kumar(TechLakshay)

A QA Automation Engineer by trade, Lakshay's real passion is untangling complex problems into simple, working solutions — which is exactly why FreeMyTask exists. On Instagram, he channels that same instinct into helping 26,000+ content creators with SEO education, motivation, and hands-on query solving.

Last updated: September 5, 2026
🎁