Text, String, Code Size Calculator

Find out any text or code size in byte/kb

Normal Size:
Size with Spaces:
Size without Spaces:

Normal size calculates with line breaks based on the platform such as Windows traditionally uses carriage return (\r) followed by a line feed (\n), while Unix-like systems use only line feed characters.

Online Text, String, Code Size Calculator In Bytes


How to Calculator Text, String and Code Size?

Simply write or past the text, string or code into the textarea box and get the calculated size in byte!

Rememember, above the 1024 byte size it will show in kilobytes (kb) and above the 1024kb kilobytes it will show in Megabytes (MB).

Note:

Normal size calculates with line breaks based on the platform such as Windows traditionally uses carriage return (\r) followed by a line feed (\n), while Unix-like systems use only line feed characters.