CanDoYa
FR

Compteur de lignes gratuit

Fonctionne entièrement dans votre navigateur : aucun envoi, aucune inscription.

Votre texte
0lignes totales
0lignes non vides
0lignes vides
0mots
0caracteres
0sans sauts de ligne
Longueur de ligne
caracteres moy. / ligne0
ligne la plus longue0
ligne non vide la plus courte0
Partager cet outil

What is a compteur de lignes?

A compteur de lignes counts total lines, non-empty lines and blank lines in pasted text. It also shows words, characters and line-length stats as you type. Everything runs in your browser, so your text is not uploaded and you do not need an account.

Comment l’utiliser

  1. 1Paste your text. Type or paste any text into the box above. Each line break is counted.
  2. 2Read the live totals. See total lines, non-empty lines, blank lines, words and characters update instantly.
  3. 3Check line length. Use the average, longest and shortest line-length stats to spot very long or empty rows.

Pour qui

This compteur de lignes runs entirely in your browser with plain JavaScript, so logs, CSV snippets, notes and drafts stay on your device. It accepts Unix, Windows and old Mac line endings, then normalizes them for consistent counting.

Questions fréquentes

Is the compteur de lignes free?

Yes. The tool is free to use with no account, no download and no usage limit.

Is my text uploaded anywhere?

No. All counting happens locally in your browser, so your pasted text stays on your device.

Does it count blank lines?

Yes. The tool shows total lines, non-empty lines and blank lines separately, so you can decide which count matters for your task.

Does a trailing newline count as a line?

Yes. If your text ends with a line break, the counter treats the space after it as a final blank line.

Which line endings does it support?

It supports LF, CRLF and CR line endings. Windows, macOS, Linux and terminal output all count consistently.

Can I count lines in code or CSV data?

Yes. Paste code, logs, CSV, TSV or one-item-per-line lists. The tool treats the content as plain text and never uploads it.