Text tools

Line Counter

Count every line in a list or a file, and the lines that have text, as you paste. In your browser

Your text24 words · 158 characters
  • Free
  • Never uploaded
Your textSample text: click to replace it
24 words158 characters7 lines
  • Free
  • Never uploaded

What it does

Know how long your list is

Paste a list of names, a column copied from a spreadsheet, a log or any text and see how many lines it has, and how many of them have text. The same editor sorts the lines, removes repeated ones, numbers them, or joins them into one comma-separated line.

How it works

Count lines in three steps

  1. Paste your list

    Click the text box and paste, or drop a .txt or .csv file.

  2. Read the count

    Lines lead, and More details shows how many of them have text.

  3. Tidy the list

    Sort it, remove repeated lines or number it from the sidebar, without leaving the page.

Why Legalfina

One free editor for every text job

  • Never uploaded

    Your text stays in your browser. It isn't sent to our server or anyone else's, and it isn't saved.

  • Instant, and undoable

    Every count updates as you type, and every change can be undone with Ctrl+Z (⌘+Z on a Mac).

  • Free, no sign-up

    No account, no limits, no ads in your way.

  • Every tool on the same text

    Clean it up, change its case, sort it and count it without copying it from page to page.

Questions

Questions about counting lines

Are empty lines counted?

The main count includes every line, empty ones too, the way a text editor numbers them. “Lines with text” leaves out the empty ones.

Does a line break at the very end count as a line?

Yes, as in most text editors: a text ending in a line break has an empty last line.

Can I count the lines in a CSV file?

Yes. Open the file or drop it on the page; each row is a line.

Can I number the lines?

Yes. Open Lines and lists in the sidebar and choose Number.

Is my text uploaded or saved?

No. Everything happens in your browser. Your text is never sent to Legalfina or anyone else, and it's gone when you close the page.

Filing papers with a California court?

Legalfina prepares your court forms, checks them, and files them for you, with an attorney's review when you want one.

Get started



© 2021 - 2026 Legalfina Inc. All rights reserved.

LDA License #172 (Alameda County)
35111F Newark Blvd #314, Newark, CA

Disclaimer: Communications between you and Legalfina are protected by our Privacy Policy but not by the attorney-client privilege or as work product. Legalfina provides access to independent attorneys and self-help services at your specific direction. We are not a law firm or a substitute for an attorney or law firm. We cannot provide any kind of advice, explanation, opinion, or recommendation about possible legal rights, remedies, defenses, options, selection of forms or strategies. Your access to the website is subject to our Terms of Use.