← 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.5K
1.9K
Yesterday
+13 weekly
View

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

15.0K
936
Yesterday
+6 weekly
View

- Shell parser and formatter.

9.1K
452
Yesterday
+19 weekly
View

- Markdown processor in Go.

5.6K
595
2 days ago
-3 weekly
View

- A comprehensive, Lodash-like utility library for Go

5.3K
519
4 days ago
+0 weekly
View

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

5.0K
318
Yesterday
+15 weekly
View

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

5.0K
559
Yesterday
+4 weekly
View

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

4.8K
267
2 days ago
+2 weekly
View

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

3.8K
225
Yesterday
+10 weekly
View

- HTML Sanitizer.

3.7K
198
Yesterday
+1 weekly
View

- Parse RSS and Atom feeds in Go.

2.9K
222
2 days ago
+0 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
43
Yesterday
+1 weekly
View

- Go library for encoding structs into URL query parameters.

2.1K
189
Yesterday
+1 weekly
View

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

2.0K
250
Yesterday
+1 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
33
Yesterday
+2 weekly
View

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

1.5K
94
6 days ago
+1 weekly
View

- Extract urls from text.

1.3K
117
6 days ago
+1 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.2K
29
2 weeks ago
+0 weekly
View

- A collection of common regular expressions for Go.

893
72
3 days ago
-2 weekly
View

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

783
80
5 days ago
+1 weekly
View

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

724
105
3 days ago
+1 weekly
View

- Web scraping Framework to turn websites into structured data.

713
82
1 week ago
-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
118
1 month ago
+0 weekly
View

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

596
102
1 week ago
+0 weekly
View

- Parses the Graphviz DOT language.

567
78
2 weeks ago
+0 weekly
View

- Easily pretty-print your tabular data with Go.

335
31
1 month ago
+0 weekly
View

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

269
21
1 month ago
+0 weekly
View

- NMEA parser library for the Go language.

266
86
1 week ago
+0 weekly
View

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

260
7
5 days ago
+6 weekly
View

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

223
4
2 months ago
+0 weekly
View

- Regular expressions builder.

213
5
1 month ago
+0 weekly
View

- Fast string sorting algorithm.

196
11
1 month ago
+0 weekly
View

- Editorconfig file parser and manipulator for Go.

156
34
1 week ago
+0 weekly
View

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

150
13
9 months ago
+0 weekly
View

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

142
12
Yesterday
+2 weekly
View

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

142
11
1 month ago
+0 weekly
View

- iTunes Compliant and RSS 2.0 Podcast Generator in Golang

140
35
2 months ago
+0 weekly
View

- Parse and format vCard.

129
41
1 month ago
+0 weekly
View

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

117
8
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.

112
7
1 month ago
+0 weekly
View

- Simple and lightweight wildcard pattern matching.

103
8
2 months ago
+0 weekly
View

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

100
10
5 days ago
+1 weekly
View

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

94
20
1 month ago
+0 weekly
View

- Library for generating random strings from regular expressions.

92
26
1 year ago
+0 weekly
View

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

87
36
1 month ago
+0 weekly
View

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

86
7
1 week ago
+1 weekly
View

- Handles address representation, validation and formatting.

85
5
3 weeks ago
+0 weekly
View

- A general purpose application that aligns text.

84
7
5 months ago
+0 weekly
View

- Count and expand Regular Expressions into all matching Strings.

77
8
3 months ago
+0 weekly
View

- A sanitization-based swear filter for Go.

71
10
2 months ago
+0 weekly
View

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

68
8
1 month ago
+0 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
2 months ago
+0 weekly
View

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

51
6
7 months ago
+0 weekly
View

- Parses human names into individual name parts.

42
5
4 days ago
-1 weekly
View

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

40
8
1 month ago
+0 weekly
View

- Produces a set of tags from given source.

39
2
9 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
3 weeks 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
4 months ago
+0 weekly
View

- Alternative suggestions with respect to keyboard layouts.

20
4
1 week 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

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

14
2
4 days ago
+2 weekly
View

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

14
0
1 year ago
+0 weekly
View

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

11
3
4 days ago
-1 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
5 days ago
+1 weekly
View

- string argument parser that understands quotes and backslashes.

10
6
9 months ago
+0 weekly
View

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

9
2
7 months ago
+0 weekly
View

- Go language library for parsing Sitemaps.

8
1
2 days ago
+0 weekly
View

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

8
1
4 weeks ago
+0 weekly
View

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

7
5
5 months ago
+0 weekly
View

- Rich rendering of YAML as HTML in Go.

6
3
1 month 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
2 months ago
+0 weekly
View