String Length & Byte Counter (UTF-8)
Count characters, bytes (UTF-8 / UTF-16), code points and SMS parts — useful for database and API limits.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Databases and APIs often limit size in bytes, not letters. "ñ" is 1 letter but 2 bytes; an emoji can be 4 bytes and count as 2 in JavaScript.
How to use it (step by step)
- 1Type or paste your text into the “Text” box. There is already an example in it so you can see how it works; press Clear to start with your own.
- 2The answer appears right away in the “Counts” box. No button needed.
- 3Press Copy and paste the result wherever you need it.
Words to know
- cURL / API request
- cURL sends a request to a web address from the command line. APIs are web addresses that return data for programs.
- Unicode / UTF-8
- Unicode gives every character (A, ñ, ₱, 😀) a number. UTF-8 is how those numbers are stored as bytes.
- Byte
- The basic unit of computer storage. One basic letter = 1 byte in UTF-8; ñ = 2 bytes; most emoji = 4 bytes.
More in Developer
Sitemap XML GeneratorPaste a list of page URLs and get a valid sitemap.xml to submit to Google Search Console and Bing..env Converter (to JSON, Docker, Kubernetes)Convert a .env file to JSON, docker -e flags, Docker Compose, Kubernetes env or GitHub Actions — or JSON back to .env..editorconfig GeneratorCreate an .editorconfig file so every editor on your team uses the same indentation, line endings and charset.Open Source License Generator (MIT, ISC, BSD…)Create a LICENSE file for your project: MIT, ISC, BSD 2/3-Clause, Unlicense or the Apache 2.0 notice.README Generator (Markdown)Create a clean README.md for GitHub with description, features, install, usage, tech stack and license.Git Commit Message Generator (Conventional Commits)Write clear commit messages like “feat(auth): add Google login” and get the git command, with checks for length and style.