Calculate the size of input text as UTF-8, UTF-16, UTF-32, JSON string, Base64, and URL-encoded data. Useful for code, DB documents, and API payloads.
UTF-8 Bytes
0
0 B
Characters
0
UTF-16 code units in the input
Words
0
Useful for docs and copy budgets
Lines
0
Helpful for code, logs, and SQL
Paste code, JSON, logs, SQL, API payloads, or document text for byte analysis.
Editable Input
Click a format to use it in the budget checker.
Compare the selected representation against a payload or storage budget.
UTF-8 plain text
Budget: 400.00 KB
Current Size
0 B
Budget
400.00 KB
Remaining
400.00 KB
Secondary metrics that help when estimating DB storage and Unicode impact.
Code Points
0
Words
0
ASCII Characters
0
Non-ASCII Characters
0
JSON Overhead
2 B
Base64 Overhead
0 B
Measure how large a piece of text becomes in different representations so developers can estimate source code size, JSON payload size, database field usage, and document storage budgets.
All calculations happen locally in your browser. Your code, text, and documents are not uploaded anywhere.
Count words, characters, sentences, paragraphs and lines in your text. Analyze letter density and reading time instantly.
Parse and analyze URLs to extract components like protocol, host, path, query parameters, and hash fragments.
Parse and analyze user agent strings to detect browser, operating system, device type, and bot information. Essential for web debugging.