Count words in text

Takes an input and counts the total words, then displays the information in a dialog or speaks it back with Siri.

Actions Used

?
Count
Counts the number of items, characters, words, sentences, or lines passed as input.

Note (from Apple, for real)
This is just like the Count in Sesame Street, but instead of a vampire, it’s a Shortcuts action.
?
Show Result
Shows the specified text in Siri or in an alert.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Count%20words%20in%20text
Open Shortcut deep link
shortcuts://open-shortcut?name=Count%20words%20in%20text
AppleScript code
tell application “Shortcuts Events” run shortcut “Count words in text” end tell

More From This Folder

Change text case

Takes the input from the Share sheet or clipboard, lets you choose from UPPERCASE, lowercase, Capitalizing Every Word, swapping to Title Case, or swapping to Sentence case, and copies it to your clipboard.

Get shortcut »

More From The Library

Monitor The Office

Activates Sound Recognition and listens for fire alarms, sirens, smoke alarms, glass breaking, and shouting – anything you’d definitely want to know about in a work environment.

Get shortcut »


Get way deeper into Shortcuts – become a member.