Word Counter
Count words and characters live with reading time and keyword density.
Open Word CounterPaste text and switch it between thirteen forms with one click: UPPERCASE, lowercase, Sentence case, Title Case, aLtErNaTiNg, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE, plus three clean-up actions that strip double spaces, flatten line breaks or reverse the whole string. Title Case follows real style-guide rules, leaving small words such as of and the lowercase unless they open or close the line. Every change happens in the box so you can chain actions, and an undo button steps you back if you overshoot. Nothing you paste is sent anywhere.
Each button rewrites the text in place. Undo is one click away.
0 characters, 0 words
Runs fully in your browser. Nothing is uploaded.
Case conversion looks trivial and is not, because the hard part is deciding where one word
ends and the next begins. Converting parseHTTPResponse to snake_case means
recognising a lowercase-to-uppercase boundary, a run of capitals that forms an acronym, and the
capital that starts the next word. This tool splits on spaces, hyphens, underscores and dots,
and then on those camelCase boundaries, which is why parseHTTPResponse comes out
as parse_http_response rather than parse_h_t_t_p_response.
Title Case is the other case people get wrong. Capitalising every word is not title case; it is start case. Standard English style capitalises the first and last words and everything significant in between, while leaving articles, coordinating conjunctions and short prepositions lowercase. This tool uses a list of about twenty such words, so the rise and fall of the roman empire becomes The Rise and Fall of the Roman Empire, which is what a style guide expects.
Sentence case capitalises the letter after each full stop, question mark or exclamation mark and lowercases the rest. It cannot know that london is a proper noun, so a sentence-case pass over text with names in it will need a manual fix afterwards. That is a limitation of every tool that does this, not just this one.
The clean-up actions are the ones people reach for most often. Pasting from a PDF usually brings hard line breaks mid-sentence and double spaces after full stops; running Remove line breaks and then Remove extra spaces fixes both in two clicks.
Title Case follows style-guide rules: the first and last words are always capitalised, and so is everything meaningful, but short words such as a, the, of, and and in stay lowercase in the middle. Capitalising every word is called start case and looks wrong in a published headline.
It detects the boundary where a lowercase letter meets a capital and splits there, and it handles runs of capitals as acronyms. So getUserID becomes get_user_id in snake_case rather than get_user_i_d.
Yes. Every change is pushed onto a history stack and the Undo button steps back one at a time, all the way to your original paste. The history lives in the page and is cleared when you reload.
Not one we impose. The conversions are plain string operations, so a few hundred thousand words convert instantly. Very large pastes are limited only by the memory your browser will give the tab.
Because it has no way to recognise proper nouns. It capitalises the first letter after each sentence-ending mark and lowercases everything else. Names, places and brands need a manual pass afterwards.
Count words and characters live with reading time and keyword density.
Open Word CounterBeautify, minify and validate JSON with exact error line and column.
Open JSON FormatterEncode or decode Base64 text, files and data URIs with image preview.
Open Base64 Encoder / DecoderRead text aloud with your system voices and follow the word highlight.
Open Text to Speech