🔢 Letter Character Counter

Count letters, digits, spaces, special characters in text.

Similar Tools

📋 How to Use

1
Input

Fill in the required parameters

2
Execute

Click the generate/execute button

3
Result

View and copy your results

About This Tool

Count letters, digits, spaces, special characters in text.

How to Use

  • Enter or paste your data in the input fields above
  • Results update instantly - all processing in your browser
  • 100% free with no signup or account required

Tool Network

𝕏
function initTool() { document.getElementById('tool-app').innerHTML = '
'; } function doIt() { var t = document.getElementById('inp').value; var total=t.length, letters=(t.match(/[a-zA-Z]/g)|[]).length, cjk=(t.match(/[\\u4e00-\\u9fff]/g)|[]).length; var digits=(t.match(/[0-9]/g)|[]).length, spaces=(t.match(/\\s/g)|[]).length; var lines = t.split(String.fromCharCode(10)).length; document.getElementById('out').innerHTML = '
' +'
'+total+'
Chars
' +'
'+letters+'
Letters
' +'
'+cjk+'
Chinese characters
' +'
'+digits+'
Digits
' +'
'+spaces+'
Spaces
' +'
'+lines+'
Lines
'; } window.addEventListener('DOMContentLoaded', initTool);