ANSI Escape Code / Terminal Color Generator
Visually compose terminal text styling — FG/BG color in 16/256/24-bit truecolor, SGR styles (bold, faint, italic, underline, blink, inverse, hidden, strikethrough) — and get the exact ANSI escape sequence with a live preview. Multi-format escape output (\x1b, \033, \e, \u001b, raw ESC), language snippets (bash printf, Python, JS, Go, Rust, C), reverse decoder (paste a sequence → see what it does), hex→256 and hex→truecolor conversion, 256-color palette grid, strip-ANSI helper, terminal-support notes. 100% client-side.
Visually compose terminal text styling — FG/BG color in 16/256/24-bit truecolor, SGR styles (bold, faint, italic, underline, blink, inverse, hidden, strikethrough) — and get the exact ANSI escape sequence with a live preview. Multi-format escape output (\x1b, \033, \e, \u001b, raw ESC), language snippets (bash printf, Python, JS, Go, Rust, C), reverse decoder (paste a sequence → see what it does), hex→256 and hex→truecolor conversion, 256-color palette grid, strip-ANSI helper, terminal-support notes. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.