Command-line tool
codespell
brew/codespell
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Fix common misspellings in source code and text files
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install codespell
macOS
brew install codespell pipx install codespell
Linux
pipx install codespell
Check for typos in all text files in the current directory, recursively
codespell
Correct all typos found in-place
codespell -w
Skip files with names that match the specified pattern (accepts a comma-separated list of patterns using wildcards)
codespell -S "pattern"
Related command-line tools
- gcc
GNU compiler collection - metashell
Metaprogramming shell for C++ templates - pycodestyle
Simple Python style checker in one Python file - highlight
Convert source code to formatted text with syntax highlighting - CotEditor
Plain-text editor for web pages, program source codes and more - rustsourcebundler
Bundle the source code of a rust cargo crate in a single source file - ruplacer
Find and replace text in source files - sourcedocs
Generate Markdown files from inline source code documentation
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents