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

shortcuts-action-icon-get-text-from-input.webp
Get Text from Input
Returns text from the previous action’s output. For example, this action can get the name of a photo or song, or the text of a web page.
shortcuts-action-icon-count.webp
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.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.

More From This Folder

Extra Details

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

More From The Library

Check my sleep data

Opens into a variety of pages in the Health app, including: sleep, nutrition, handwashing, toothbrushing, activity, flights climbed, body measurements, mobility, heart data, VO2 max info, environmental volume levels, and headphone levels.

Get Shortcut »

Set up ChatGPT

Opens the ChatGPT app for Mac, resizes it to a default 980×658 dimensions, then moves it to the middle left (with 18px of padding against the edge of the screen).

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more