CountChars

Count Characters

Security Level 1 (Read)
SindByte tool execution flow: voice command, AI parse, execute, validate, result

Description

Counts all characters in a text, including letters, numbers, special characters, spaces, and line breaks. Provides detailed statistics on character distribution, ideal for text analysis and validation.

JSON Parameters

{
  "text": "Hello World!",
  "includeSpaces": true,
  "includeNewlines": true,
  "detailed": true
}
ParameterTypeRequiredDescription
textStringYesThe text to analyze
includeSpacesBooleanNoCount spaces (default: true)
includeNewlinesBooleanNoCount line breaks (default: true)
detailedBooleanNoDetailed statistics (default: false)

Example Usage

API call:

POST /api/v1/tools/countchars
Content-Type: application/json

{
  "text": "Hello World!",
  "detailed": true
}

Return Values

{
  "totalChars": 12,
  "letters": 10,
  "numbers": 0,
  "spaces": 1,
  "punctuation": 1,
  "breakdown": {
    "H": 1,
    "a": 1,
    "l": 3,
    "o": 2
  },
  "success": true
}

Related Tools

Benefits

Perfect for:

Time Savings

No measured time-saving or performance figures are available here. Results depend on the task and environment.

Ready to Get Started?

Analyze your texts with CountChars.

Download Now
Back to TextTools