← All Go categories

Text Processing Go Libraries Ranking

Libraries for parsing and manipulating texts.

75 repositories, updated daily.

- Fast and Elegant Scraping Framework for Gophers.

25.6K
1.9K
Yesterday
+16 weekly
View

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

15.0K
949
Yesterday
+3 weekly
View

- Shell parser and formatter.

9.2K
464
Yesterday
+18 weekly
View

- Markdown processor in Go.

5.6K
599
1 week ago
+0 weekly
View

- A comprehensive, Lodash-like utility library for Go

5.3K
523
Yesterday
+0 weekly
View

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

5.1K
335
Yesterday
+10 weekly
View

- TOML configuration format (encoder/decoder with reflection).

5.0K
674
Yesterday
-2 weekly
View

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

4.9K
282
Yesterday
+2 weekly
View

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

3.8K
230
Yesterday
+2 weekly
View

- HTML Sanitizer.

3.7K
204
Yesterday
+0 weekly
View

- Parse RSS and Atom feeds in Go.

2.9K
234
Yesterday
+2 weekly
View

- 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.6K
48
Yesterday
+0 weekly
View

- Go library for encoding structs into URL query parameters.

2.1K
197
3 days ago
-1 weekly
View

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

2.0K
260
Yesterday
+0 weekly
View

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

1.8K
34
Yesterday
-4 weekly
View

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

1.5K
98
Yesterday
+0 weekly
View

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

1.3K
30
Yesterday
+15 weekly
View

- Extract urls from text.

1.3K
120
Yesterday
-2 weekly
View

- A collection of common regular expressions for Go.

893
72
1 month ago
+0 weekly
View

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

782
84
Yesterday
-1 weekly
View

- Functions to get fixed width of the character or string.

727
110
Yesterday
-1 weekly
View

- Web scraping Framework to turn websites into structured data.

715
81
Yesterday
-1 weekly
View

- Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.

627
120
1 week ago
+1 weekly
View

- Formats and parses numeric byte values (10K, 2M, 3G, etc.).

598
104
1 week ago
+0 weekly
View

- Parses the Graphviz DOT language.

565
78
Yesterday
-1 weekly
View

- Easily pretty-print your tabular data with Go.

336
31
1 month ago
+0 weekly
View

- Production regex engine with Rust regex-crate architecture: multi-engine DFA/NFA, SIMD prefilters, drop-in stdlib replacement.

320
9
4 days ago
+1 weekly
View

- Declarative unmarshalling of HTML using struct tags with jQuery syntax (uses GoQuery).

269
21
Yesterday
-1 weekly
View

- NMEA parser library for the Go language.

268
89
2 weeks ago
+0 weekly
View

- Pretty print any GO variable with ease, an alternative to Go's `fmt.Printf("%#v")`.

224
4
1 week ago
+0 weekly
View

- Regular expressions builder.

213
5
3 months ago
+0 weekly
View

- Fast string sorting algorithm.

195
11
1 week ago
+0 weekly
View

- Editorconfig file parser and manipulator for Go.

158
35
2 weeks ago
+0 weekly
View

- Match regex expression named groups into go struct using struct tags and automatic parsing.

151
13
1 week ago
+0 weekly
View

- Markdown builder that generates GitHub Flavored Markdown and mermaid diagrams through method chaining.

146
12
Yesterday
+1 weekly
View

- Parse any string, slice or infinite buffer to any tokens.

143
11
5 days ago
+1 weekly
View

- iTunes Compliant and RSS 2.0 Podcast Generator in Golang

140
35
1 month ago
+0 weekly
View

- Parse and format vCard.

129
44
3 months ago
+0 weekly
View

- Universal JSON, BSON, YAML, XML translator to ANY format using templates.

118
10
3 weeks ago
+0 weekly
View

- Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler.

113
8
1 week ago
+0 weekly
View

- Web crawler that converts documentation sites to clean Markdown and JSONL for LLM ingestion (RAG, training data).

110
26
6 days ago
+1 weekly
View

- Simple and lightweight wildcard pattern matching.

103
8
2 weeks ago
+0 weekly
View

- DID (Decentralized Identifiers) Parser and Stringer in Go.

94
20
3 months ago
+0 weekly
View

- Library for generating random strings from regular expressions.

93
26
1 week ago
+0 weekly
View

- Markdown-to-PDF converter with CLI and Go library APIs.

87
8
2 weeks ago
+0 weekly
View

- Fixed-width text formatting (encoder/decoder with reflection).

87
36
3 months ago
+0 weekly
View

- Handles address representation, validation and formatting.

86
5
2 weeks ago
+0 weekly
View

- A general purpose application that aligns text.

84
7
7 months ago
+0 weekly
View

- Count and expand Regular Expressions into all matching Strings.

77
8
5 months ago
+0 weekly
View

- A sanitization-based swear filter for Go.

71
10
4 months ago
+0 weekly
View

- A Lexer and Parser for Valves Data Format (known as vdf) written in Go.

67
9
3 days ago
-1 weekly
View

- Placeholder and wildcard text parsing for CLI tools and bots.

60
9
1 year ago
+0 weekly
View

- Sanitize, normalize and compare fuzzy text.

53
2
4 months ago
+0 weekly
View

- Petrovich is the library which inflects Russian names to given grammatical case.

51
6
9 months ago
+0 weekly
View

- Parses human names into individual name parts.

42
5
2 months ago
+0 weekly
View

- High performance effective top level domains (eTLD) extraction module.

41
8
3 weeks ago
+0 weekly
View

- Produces a set of tags from given source.

39
2
11 months ago
+0 weekly
View

- Convert xml or json to go struct.

36
8
1 year ago
+0 weekly
View

- A package for scraping recipes from websites.

33
3
2 months ago
+0 weekly
View

- Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure.

25
5
1 year ago
+0 weekly
View

- Common case conversions covering common initialisms.

22
2
6 months ago
+0 weekly
View

- fast, auto-fixing Markdown linter and formatter. Checks style, readability, structure, and cross-file integrity.

21
3
1 week ago
+0 weekly
View

- Alternative suggestions with respect to keyboard layouts.

20
4
1 month ago
+0 weekly
View

- Output go structures into multiple formats (YAML/JSON/etc) in your command line app.

18
2
1 year ago
+0 weekly
View

- Seamlessly fetch paginated data from any source. Simple and high performance API scraping included.

16
0
4 weeks ago
+0 weekly
View

- string argument parser that understands quotes and backslashes.

11
6
1 month ago
+0 weekly
View

- Converts bbCode to HTML that allows you to add support for custom bbCode tags.

11
3
2 months ago
+0 weekly
View

- Document object identifier (doi) parser in Go.

11
2
1 year ago
+0 weekly
View

- Scan and parse LL(1) grammars simply and efficiently.

10
0
2 months ago
+0 weekly
View

- High performance [LTSV (Labeled Tab Separated Value)](http://ltsv.org/) reader for Go.

9
2
9 months ago
+0 weekly
View

- Go language library for parsing Sitemaps.

8
1
1 week ago
+0 weekly
View

- High-performance Unicode character width calculation with SWAR optimization, O(1) lookup tables, and ZWJ emoji support.

8
1
2 months ago
+0 weekly
View

- Wraps text at end of lines. Implementation of `textwrap` module from Python.

7
5
7 months ago
+0 weekly
View

- Rich rendering of YAML as HTML in Go.

6
2
2 weeks ago
+0 weekly
View

- Traverse, navigate, filter, and otherwise process trees of [html.Node](https://pkg.go.dev/golang.org/x/net/html#Node) objects.

5
0
4 months ago
+0 weekly
View