Calculators
String Length Calculator API
Calculate text length in multiple units: JS string length (UTF-16 code units — what most naive tools report), Unicode character count (codepoints), and byte length when UTF-8 encoded — plus character count without spaces, word count and line count. Reveals how emoji and other multi-byte characters make these numbers diverge.
POST
Authorizations
Body
application/json
Your text
Response
Tool output