Strip Ansi

Strip Ansi

Removes ANSI escape codes from a string, stripping color, cursor and styling sequences emitted by terminal libraries, so CLI output can be parsed, logged or compared as plain text.

Strip Ansi: Strip-ansi at github.com/chalk/strip-ansi is a free MIT ANSI escape code remover for JavaScript, npm strip-ansi 7.2.0 Node.js >= 12, strips color cursor and styling sequences from terminal output so CLI text can be parsed logged searched or diffed as plain text, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is Strip Ansi free?

Strip Ansi: Strip-ansi is free open-source software released under the MIT License; the strip-ansi package latest 7.2.0 on npm requires Node.js >= 12. It strips ANSI color, cursor and styling escape sequences from terminal output, leaving plain text that can be parsed, logged, searched or diffed without control codes interfering. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is Strip Ansi free?

The code is free to self-host, but a hosted plan from the vendor may not be. Strip Ansi publishes its source, so cost depends on where you run it.

How much does Strip Ansi cost?

Strip-ansi is free open-source software released under the MIT License; the strip-ansi package latest 7.2.0 on npm requires Node.js >= 12. It strips ANSI color, cursor and styling escape sequences from terminal output, leaving plain text that can be parsed, logged, searched or diffed without control codes interfering. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check Strip Ansi's current pricing?

On Strip Ansi's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is Strip-ansi?

Terminal libraries wrap colored or styled text in ANSI sequences; strip-ansi scans the string and removes those escape sequences, returning the visible plain text so logs and captured CLI output stay clean and machine-readable.

How does pricing work?

The package installs free under MIT with no seat license; it cleans strings in-process, and commercial support would be outside the open-source project.

How does Strip Ansi compare with other tools in Dev Workflow & Productivity?

Strip Ansi is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
Strip AnsiOpen sourceStrip-ansi is free open-source software released under the MIT License; the strip-ansi package latest 7.2.0 on npm requires Node.js >= 12. It strips ANSI color, cursor and styling escape sequences from terminal output, leaving plain text that can be parsed, logged, searched or diffed without control codes interfering. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
Escape String RegexpOpen sourceEscape-string-regexp is free open-source software released under the MIT License; the escape-string-regexp package latest 5.0.0 on npm requires Node.js >= 12. It backslash-escapes every regex metacharacter in an input string, so user-supplied text can be matched as a literal inside a pattern instead of being interpreted as operators. The npm release has not moved since Apr 2021 while repository commits continue into Sep 2026; the API is stable and maintained at a low level, so teams adopting it for new work should check current maintenance status. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
CamelcaseOpen sourceCamelcase is free open-source software released under the MIT License; the camelcase package latest 10.0.0 on npm requires Node.js >= 22. It splits a separated or spaced string into words and rejoins them as camelCase, with options for digits, acronyms and leading separators, so API responses and user input map cleanly to JavaScript object keys and variable names. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

Strip Ansi's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.

Open source does not always mean every hosted version is free.

Key pricing: Strip-ansi is free open-source software released under the MIT License; the strip-ansi package latest 7.2.0 on npm requires Node.js >= 12. It strips ANSI color, cursor and styling escape sequences from terminal output, leaving plain text that can be parsed, logged, searched or diffed without control codes interfering. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitegithub.com
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates