Skip to content

The best xterm.js alternatives

3 tools that do a similar job to xterm.js, 3 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

xterm.js

A front-end component that puts a fully featured terminal inside a web page.

  1. 1

    ttyd

    Open source · MIT · ★ 12.6k

    A command-line tool that shares a terminal session in a web browser.

    Best for: Developers who want to open a shell on a home server or device from a browser; People running tools on OpenWrt routers or other small Linux boxes

  2. 2

    chalk

    Open source · MIT · ★ 23.3k

    A JavaScript library that adds colors and text styles to terminal output.

    Best for: Node.js developers building command-line tools that print colored output; Developers who want readable, color-coded logs or status messages in a terminal

  3. 3

    FTXUI

    Open source · MIT · ★ 10.9k

    A C++ library for building terminal user interfaces with no dependencies.

    Best for: C++ developers who want interactive text-based tools in the terminal; Developers who want a library with no external dependencies

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to xterm.js. We don't take payment for placement.