ANSI Code Stripper
Strip ANSI color and formatting codes from terminal or log output.
Clean up colored terminal output
Terminal output uses ANSI escape codes to add color and styling, and when you copy a log those invisible codes come along as garbled characters. This tool strips them, leaving clean, readable plain text.
A line like the red “Error:” followed by a message loses its escape sequences and becomes just “Error: something failed”. It removes color, cursor, and formatting codes while keeping every visible character.
Clean and private
It matches and removes the escape sequences in your browser, so pasted logs are never uploaded.
Frequently Asked Questions
What are ANSI escape codes?
Invisible control sequences terminals use for color and formatting, like the codes that make error text red. Copied logs often carry them as garbled characters.
When is this useful?
Cleaning CI logs, terminal captures, or command output before pasting into a document, ticket, or search where the codes would be noise.
Does it change my text?
No — only the escape sequences are removed; every visible character stays exactly as it was.
Browse the full set of free, private, in-browser tools.