ANSI Escape Code Remover
Remove ANSI escape codes — colors, cursor moves and OSC sequences — from terminal and CI log output to get clean, greppable plain text. Free, no upload.
🔒 Runs in your browser — nothing is uploaded.
What ANSI escape codes are
Terminals add color and formatting with invisible ANSI escape sequences — short runs of bytes that start with the ESC control character. The code ESC[32m turns text green and ESC[0m resets it; others move the cursor, clear the line, or set the window title. On a live terminal you never see them, but the moment you copy that output into a ticket, a pull request, a text file, or a log viewer that does not render color, the codes resurface as noise such as [32m and [0m plus stray control characters that break search, diffing, and word counts.
Clean terminal and CI logs in your browser
Paste any colored log and this tool strips every ANSI sequence in a single pass — SGR color and style codes, cursor and screen-control commands (CSI), operating-system commands (OSC) like window titles and clickable hyperlinks, and standalone single-character escapes — while leaving the visible text and line breaks untouched. It is built for cleaning CI output from GitHub Actions, GitLab CI, or Jenkins, tidying test-runner results, and turning pasted terminal captures into plain, greppable text. Everything runs locally in your browser, so even a sensitive build log never leaves your device.
Frequently asked questions
What is an ANSI escape code?
It is a sequence of bytes a terminal uses to control color, styling, and the cursor. Most start with the ESC character followed by a bracket — for example ESC[1;31m for bold red. Programs print them to format output, and this tool removes them so only the plain text remains.
Does it remove cursor and window-title sequences too, or only colors?
Both. It strips SGR color and style codes, CSI cursor and screen-control sequences, OSC sequences such as window titles and hyperlinks, and single-character escapes — every common ANSI sequence, not just colors.
Is my log uploaded anywhere?
No. Stripping runs entirely in your browser with JavaScript, and your text never leaves your device — safe for pasting private or sensitive build and terminal logs.