Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-pretty

> DevOps
Open source

Table-writer and more in golang!

3.5K stars0 likes0 views
WebsiteGitHub

About

Table-writer and more in golang!

go-pretty

Utilities to prettify console output of tables, lists, progress bars, text, and more with a heavy emphasis on customization and flexibility.

Quick Start

bash
go get github.com/jedib0t/go-pretty/v6

Import the packages you need:

go
import (
    "github.com/jedib0t/go-pretty/v6/table"
    "github.com/jedib0t/go-pretty/v6/list"
    "github.com/jedib0t/go-pretty/v6/progress"
    "github.com/jedib0t/go-pretty/v6/text"
)

Note: Current major version is v6. See Go modules versioning for details.

Packages

Table

Pretty-print tables with colors, auto-merge, sorting, paging, and multiple output formats (ASCII, HTML, Markdown, CSV, TSV).

…

Try the nested colored tables demo:

bash
go run github.com/jedib0t/go-pretty/v6/cmd/demo-table@latest colors

More on tables here.

Progress

Track progress of one or more tasks with ETA, speed calculation, indeterminate indicators, and customizable styles.

More on progress here.

List

Pretty-print hierarchical lists with multiple levels, indentation, and multiple output formats (ASCII, HTML, Markdown).

╭─ Game Of Thrones
│  ├─ Winter
│  ├─ Is
│  ╰─ Coming
│     ├─ This
│     ├─ Is
│     ╰─ Known
╰─ The Dark Tower
   ╰─ The Gunslinger

More on lists here.

Text

Utility functions to manipulate strings/text with full ANSI escape sequence support. Used extensively by other packages in this repo.

Features: Alignment (horizontal/vertical), colors & formatting, cursor control, text transformation (case, JSON, time, URLs), string manipulation (pad, trim, wrap), and more.

More on text here.

Issues· 6 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goasciigolanglistpretty

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理