A powerful Raycast extension to quickly count lines, words, characters, and tokens from your clipboard content.
- Lines Count: Count the number of lines in the text
- Words Count: Count the number of words
- Sentences Count: Count the number of sentences
- Paragraphs Count: Count the number of paragraphs
- Characters Count: Count total characters including spaces
- Characters (no spaces): Count characters excluding spaces
- Token Counts: Support for multiple AI models:
- GPT-4o tokens (~estimated)
- GPT-4 tokens
- GPT-3.5-turbo tokens
- Claude tokens
- Copy any text to your clipboard
- Open Raycast (⌘ + Space by default)
- Search for "Count Tokens / Words / Lines"
- View the statistics instantly
- Click on any statistic to copy it to clipboard
- Use ⌘+R to refresh from clipboard
- Copy Individual Counts: Click on any statistic to copy just that value
- Copy All Statistics: Copy a formatted summary of all counts
- Refresh: Update counts with new clipboard content (⌘+R)
Coming soon!
- Clone this repository
- Run
npm install - Run
npm run devto test locally - Run
npm run buildto build the extension
- Clipboard: Required to read text from clipboard
All processing happens locally - your text never leaves your device.
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Lint code
npm run lint- Node.js 18+
- Raycast app
MIT
MatrixA
