SHORTLIST20
中文
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
编程

Go (Golang) text processing libraries

Parsers, formatters, Markdown and template libraries for Go, ranked by GitHub stars

更新于 · GitHub stars (stars)

为什么是这20个

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

这份清单有用吗?
  1. 1

    GoQuery

    GoQuery brings a syntax and a set of features similar to jQuery to the Go language.

    14,995 stars 951 forkslast push 2026-11-15GoBSD-3-Clause

  2. 2

    shfmt

    A shell parser, formatter, and interpreter with bash support; includes shfmt

    9,218 stars 464 forkslast push 2026-11-18GoBSD-3-Clause

    也在: #2 shell script development tools

  3. 3

    blackfriday

    Markdown processor in Go.

    5,598 stars 599 forkslast push 2024-01-29GoNOASSERTION

  4. 4

    lancet

    A comprehensive, Lodash-like utility library for Go

    5,302 stars 522 forkslast push 2026-11-20GoMIT

  5. 5

    goldmark

    A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.

    5,111 stars 336 forkslast push 2026-11-19GoMIT

  6. 6

    toml

    TOML configuration format (encoder/decoder with reflection).

    5,032 stars 673 forkslast push 2026-08-18GoMIT

  7. 7

    go-humanize

    Formatters for time, numbers, and memory size to human readable format.

    4,860 stars 282 forkslast push 2026-10-13GoNOASSERTION

  8. 8

    html-to-markdown

    Convert HTML to Markdown. Even works with entire websites and can be extended through rules.

    3,844 stars 230 forkslast push 2026-08-03GoMIT

  9. 9

    bluemonday

    HTML Sanitizer.

    3,733 stars 204 forkslast push 2025-04-04GoBSD-3-Clause

  10. 10

    gofeed

    Parse RSS and Atom feeds in Go.

    2,884 stars 234 forkslast push 2026-11-02GoMIT

  11. 11

    sq

    Convert data from SQL databases or document formats like CSV or Excel into formats such as JSON, Excel, CSV, HTML, Markdown, XML, and YAML.

    2,574 stars 48 forkslast push 2026-11-20GoMIT

  12. 12

    go-querystring

    Go library for encoding structs into URL query parameters.

    2,145 stars 197 forkslast push 2026-10-28GoBSD-3-Clause

  13. 13

    go-toml

    Go library for the TOML format with query support and handy cli tools.

    2,006 stars 260 forkslast push 2026-08-03GoNOASSERTION

  14. 14

    godump (goforj)

    Pretty-print Go structs with Laravel/Symfony-style dumps, full type info, colorized CLI output, cycle detection, and private field access.

    1,765 stars 34 forkslast push 2026-11-02GoMIT

  15. 15

    when

    Natural EN and RU language date/time parser with pluggable rules.

    1,466 stars 98 forkslast push 2026-11-02GoApache-2.0

  16. 16

    w2vgrep ▲1

    A semantic grep tool using word embeddings to find semantically similar matches. For example, searching for "death" will find "dead", "killing", "murder".

    1,292 stars 31 forkslast push 2024-08-19GoMIT

  17. 17

    xurls ▼1

    Extract urls from text.

    1,265 stars 120 forkslast push 2026-11-15GoBSD-3-Clause

  18. 18

    commonregex

    A collection of common regular expressions for Go.

    893 stars 72 forkslast push 2019-11-12GoMIT

  19. 19

    htmlquery

    An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.

    782 stars 84 forkslast push 2026-11-07GoMIT

  20. 20

    go-runewidth

    Functions to get fixed width of the character or string.

    727 stars 110 forkslast push 2026-11-17GoMIT

如何衡量

Every tool in the Text Processing section(s) of the community list avelino/awesome-go on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

参考资料

  1. avelino/awesome-go: Text Processing, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 00:55 UTC.
  2. avelino/awesome-go (Text Processing), GitHub community list, 76 tools with a public repository.