Start a project

Tool 237 of 425 · Developer tools

ANSI Log to HTML

Turns terminal output with ANSI escape codes into styled HTML you can paste into docs, and a plain-text version without the codes.

ANSI Log to HTML

Your input

Result

HTML
Plain text

    01

    What it does

    Turns terminal output with ANSI escape codes into styled HTML you can paste into docs, and a plain-text version without the codes.

    • 16, 256 and 24-bit colours
    • Bold, dim, italic and underline
    • Accepts \x1b, \033, \e and ^[ written out
    • Plain-text copy with codes stripped

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    HTML, plain text and a live preview, with a Copy and a Download button on every result.

    • ANSI
    • Terminal
    • CI logs

    Why it matters

    CI logs and terminal output are full of ANSI escape codes. Pasted into an issue or a doc they turn into noise like [31m, or lose the colour that made the error obvious.

    This converter keeps the colours as HTML and also gives you clean text, without sending your logs anywhere.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Convert. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    How do I paste the escape character?

    You don't need to. Type it as \x1b, \033, \e or ^[ and the converter treats it as ESC.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk