What counts as a line?
A new line starts after every line break (Enter). Windows (CRLF) and Mac/Linux (LF) line endings are both handled. A line containing only spaces or tabs is counted as blank. If your text ends with a line break, the empty last line is included in the total, which matches how most code editors number lines.
Cleaning up lists
The extra options turn the counter into a quick list tool. You can remove blank lines from copied spreadsheet columns, de-duplicate email lists, sort names alphabetically, or number the lines for a document. Everything happens in your browser, so it's safe for private data. Need random items from a list? Try the random picker.
Frequently asked questions
Does a blank line count?
It counts in the total and is also shown separately as a blank line.
Can I remove duplicate lines?
Yes. Choose "Remove duplicates" and copy the result.
How to use the Line Counter
- Paste or type your text into the box.
- Watch the counts and results update live.
- Compare them with the limits in the chart below.
- Edit until your text fits, then copy it out.
Why use this Line 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.
Line Counter: chart and reference data
Source: UCAS, YouTube Help, Instagram Help, 3GPP TS 23.038 (SMS)
| Where | Limit | Roughly in words* |
|---|---|---|
| SMS (GSM-7, one part) | 160 characters | ≈ 27 |
| X / Twitter post | 280 characters | ≈ 47 |
| YouTube title | 100 characters | ≈ 17 |
| Instagram caption | 2,200 characters | ≈ 367 |
| LinkedIn post | 3,000 characters | ≈ 500 |
| UCAS personal statement | 4,000 characters | ≈ 667 |
* English averages about 4.7 letters per word plus a space, so roughly 6 characters per word. Your text may differ.
Line Counter compared with the alternatives
| Feature | This tool | Word processor | Typical ad-heavy site |
|---|---|---|---|
| Opens instantly | Yes | No (app launch) | Often slow |
| Text stays on your device | Yes | Depends (cloud docs) | Not always |
| Live count while typing | Yes | Yes | Varies |
| Free, no account | Yes | Licence or account | Often 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
Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.