Free String Length & Byte Size Calculator Online
Calculate string length in characters, byte size in UTF-8/UTF-16/ASCII encoding, and find character/byte offsets for specific positions in text. — 100% free online utility, zero sign-up, zero paywalls, and private client-side processing.
How It Works
Enter String
Type or paste any text, including Unicode, emojis, and special characters.
View Metrics
See character count, word count, and byte size in UTF-8/UTF-16/ASCII.
Check Database Limits
Compare against common limits: MySQL VARCHAR(255), VARCHAR(65535), etc.
Frequently Asked Questions
Related Text & Writing Calculators & Utilities
Interlinked precision tools in the Text & Writing collection.
Word & Character Counter
Count words, characters (with and without spaces), sentences, paragraphs, reading time, and keyword density. Supports Twitter, Instagram, and LinkedIn limit checks.
Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE with one click.
Remove Duplicate Lines
Remove duplicate lines from any text list, optionally ignoring case, trimming whitespace, and sorting alphabetically. Shows count of duplicates removed.
Text Repeater
Repeat any text or character a specified number of times with custom separator (newline, comma, space) for generating test data, patterns, and lorem ipsum.
Sort Lines Tool
Sort lines alphabetically, numerically, by line length, or randomly. Reverse sort, remove empty lines, and trim whitespace from sorted output.
Find & Replace Text Tool
Find and replace text with support for plain text, case-insensitive matching, whole word matching, and regex pattern replacement with match count display.