MFAYSAL.DEV

Byte Counter (UTF-8 Size of Text)

Type or paste text to see its size in bytes. Free, private and runs in your browser.

Your details

Result

Characters aren't bytes

In UTF-8, ASCII characters (a–z, 0–9, basic punctuation) take one byte each, but "£" and "é" take two, "€" and "–" take three, and most emoji take four. A 255-character limit in a database column defined in bytes, such as some MySQL VARCHAR indexes or Redis keys, can fill up sooner than you expect.

Developers check byte length for HTTP cookie limits (around 4 KB), push-notification payloads, URL length and API request bodies. For the visible character count, use the character counter.

Frequently asked questions

How many bytes is the £ sign?

2 bytes in UTF-8 (C2 A3).

Why is UTF-16 shown?

JavaScript and Windows store strings as UTF-16 internally.

Liveupdates as you type
0text uploaded
Unicodeemoji-aware
Freeno sign-up

How to use the Byte Counter

  1. Paste or type your text into the box.
  2. Watch the counts and results update live.
  3. Compare them with the limits in the chart below.
  4. Edit until your text fits, then copy it out.

Why use this Byte Counter

100% in your browser

Nothing you enter is uploaded or stored.

Instant results

Updates as you type, no waiting.

Mobile friendly

Works on phones, tablets and desktops.

Light & dark mode

Follows your mfaysal.com theme.

Free, no account

No sign-up, no limits, no watermark.

Explained

Formulas, tables and sources on the page.

Byte Counter: chart and reference data

UTF-8 bytes per character (RFC 3629)
U+0000–007F (ASCII)1 bytesU+0080–07FF2 bytesU+0800–FFFF3 bytesU+10000–10FFFF (emoji etc.)4 bytes

Source: RFC 3629

Character limits and what fits
WhereLimitRoughly in words*
SMS (GSM-7, one part)160 characters≈ 27
X / Twitter post280 characters≈ 47
YouTube title100 characters≈ 17
Instagram caption2,200 characters≈ 367
LinkedIn post3,000 characters≈ 500
UCAS personal statement4,000 characters≈ 667

* English averages about 4.7 letters per word plus a space, so roughly 6 characters per word. Your text may differ.

Byte Counter compared with the alternatives

How this free tool compares
FeatureThis toolWord processorTypical ad-heavy site
Opens instantlyYesNo (app launch)Often slow
Text stays on your deviceYesDepends (cloud docs)Not always
Live count while typingYesYesVaries
Free, no accountYesLicence or accountOften sign-up prompts

Who uses it in the UK

  • UCAS personal statements and job applications
  • Social posts, SMS and ads with strict limits
  • Essays and coursework word targets
  • SEO titles and meta descriptions

More questions

Does it count emoji correctly?

Yes, the tool counts user-perceived characters where it matters, so most emoji count as one character even though they use several bytes behind the scenes.

Is my text private?

Yes. All processing happens in your browser with JavaScript. Nothing you type or paste is sent to a server or stored.

Does it work with Welsh or other languages?

Yes. The tool works with any Unicode text, including Welsh accents such as ŵ and ŷ, and non-Latin scripts.

Why do different tools give slightly different counts?

Tools disagree on edge cases such as hyphenated words, numbers, URLs and line breaks. This tool explains its rules on the page so you know what is counted.

✨ New: Remove the background from any image free – private, in your browser, transparent PNG.

Related free tools

Browse all 102 free tools →

Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.