Categories

Text Processing

Libraries for parsing and manipulating texts.

Repos

234

Stars

153,893

30 days

+499

Formatters

dustin

Go Humans! (formatters for units to human friendly sizes)

Created Jan 2012

Total 4,862
30 days +19
neilotoole

sq data wrangler

Created Feb 2016

azure-sql-edge csv data-wrangler database excel
Total 2,576
30 days +6
labstack

Common packages for Go

Created Mar 2015

bytes color email logging random
Total 599
30 days +3
bndr

Gotabulate - Easily pretty-print your tabular data with Go

Created Aug 2014

Total 335
30 days +0
ianlopshire

Encoding and decoding for fixed-width formatted data

Created Nov 2017

decoding encoding fixed-width
Total 87
30 days +0
bojanz

Address handling for Go.

Created Oct 2020

Total 86
30 days +0
Guitarbum722

A general purpose application and library for aligning text.

Created Apr 2017

alignment delimiter formatter golang library
Total 84
30 days +0

Markup Languages

russross

Blackfriday: a markdown processor for Go

Created May 2011

Total 5,603
30 days +6
yuin

🏆 The Golden Swiss Army Knife for markdown processing. 100% CommonMark compliant, AST w/ CST, Extensible, Fast, CJK-friendly.

Created Apr 2019

commonmark go golang markdown
Total 5,115
30 days +47
BurntSushi

TOML parser for Golang with reflection.

Created Feb 2013

Total 5,036
30 days +11
JohannesKaufmann

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

Created May 2018

cli converter go golang html
Total 3,845
30 days +15
pelletier

Go library for the TOML file format

Created Feb 2013

go golang hacktoberfest toml toml-parsing
Total 2,007
30 days +13
antchfx

htmlquery is golang XPath package for HTML query.

Created Dec 2017

go golang html html-parser xpath
Total 784
30 days +1
clbanning

Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.

Created Feb 2014

Total 628
30 days +1
andrewstuart

A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library

Created Feb 2017

decoder golang goquery html html-unmarshaling
Total 270
30 days +1
nao1215

simple markdown & mermaid builder in golang

Created Oct 2023

builder entity-relationship-diagram golang markdown markdown-buider
Total 146
30 days +2
mmalcek

Universal JSON, BSON, YAML, CSV, XML, mt940 converter with templates

Created Jul 2021

bson convert converter csv csv-to-json
Total 118
30 days +0
alnah

This is a small, opinionated Go library and CLI for Markdown to PDF. It handles cover pages, tables of contents, watermarks, signatures, and more. You can use CSS themes and custom assets. It works with parallel batch processing. The engine behind it is Chrome. It does not rely on LaTeX.

Created Dec 2025

batch-processing chrome-headless cli document-generator go
Total 87
30 days +1

Parsers/Encoders/Decoders

mvdan
mvdan / sh

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

Created Jan 2016

bash beautify formatter go interpreter
Total 9,219
30 days +85
mmcdole

Parse RSS, Atom and JSON feeds in Go

Created Jan 2016

atom atom-feed feed go golang
Total 2,884
30 days +7
google

go-querystring is Go library for encoding structs into URL query strings.

Created Sep 2013

query-string querystring
Total 2,147
30 days +1
goforj

Configurable Go value and struct dumps with colorized output, type visibility controls, and field redaction.

Created May 2025

dd debugging debugging-tools dump dumper
Total 1,767
30 days +2
olebedev

A natural language date/time parser with pluggable rules

Created Dec 2016

date datetime golang natural-language parser
Total 1,467
30 days +2
mingrammer

🍫 A collection of common regular expressions for Go

Created Mar 2017

commonregex pattern regex regexp regular-expression
Total 893
30 days +0
adrianmo

A NMEA parser library in pure Go

Created Jul 2015

go golang gps nmea nmea-library
Total 268
30 days +1
yassinebenaid

Dump any GO variable with ease

Created Feb 2024

debug dump formatting
Total 224
30 days +1
bzick

Tokenizer (lexer) for anything

Created Oct 2021

golang lexer parse parser tokenizer
Total 143
30 days +1
emersion

A Go library to parse and format vCard

Created Mar 2017

contacts vcard
Total 128
30 days +0
andygrunwald

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

Created Feb 2016

counter-strike go hacktoberfest lexer steam
Total 68
30 days +0
sbstjn

Parse placeholder and wildcard text commands

Created Oct 2016

chatops command go golang matching
Total 60
30 days +0
awalterschulze

Moved to https://git.awalterschulze.org/gographviz

Created Mar 2015 Archived

go golang graphviz graphviz-dot-language parse
Total 566
30 days +1

Regular Expressions

coregx

Pure Go production-grade regex engine with SIMD optimizations. Up to 3-3000x+ faster than stdlib.

Created Nov 2025

avx2 dfa go golang multi-engine
Total 320
30 days +50
hedhyw

Flexible regular expressions constructor for Golang.

Created Jun 2022

builder-pattern constructor dsl dsl-syntax go
Total 212
30 days +0
oriser

Match regex group into go struct using struct tags and automatic parsing

Created Sep 2020

Total 151
30 days +1
alixaxel

Genex package for Go

Created Mar 2015

genex go golang regex regular-expression
Total 76
30 days +0
IGLOU-EU

🚀 Fast and light wildcard pattern matching.

Created Mar 2021 Archived

go golang
Total 103
30 days +0

Sanitation

microcosm-cc

bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS

Created Nov 2013

allowlist go golang html owasp
Total 3,736
30 days +10
JoshuaDoes

A sanitization-based swear filter for Go.

Created Sep 2018

filter golang joshuadoes swear swear-filter
Total 71
30 days +0

Scrapers

PuerkitoBio

A little like that j-thing, only in Go.

Created Aug 2012

goquery html-parsing jquery selector-strings
Total 15,009
30 days +22
mvdan

Extract urls from text

Created Jan 2015

extract-urls go tld
Total 1,265
30 days +0
slotix

Extract structured data from web sites. Web sites scraping.

Created Feb 2017

cdp chrome-fetcher crawling extract-data go
Total 717
30 days +3
foolin

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

Created Apr 2020

colly crawler deserialization go golang
Total 113
30 days +1
Sriram-PR

Go web crawler to scrape documentation sites and convert content to clean Markdown for LLM ingestion (RAG, training data)

Created Apr 2025

data-preparation documentation golang-cli llm mcp
Total 110
30 days +2

RSS

eduncan911

iTunes and RSS 2.0 Podcast Generator in Golang

Created Feb 2017

go golang itunes podcast
Total 140
30 days +0

Utility/Miscellaneous

duke-git

A comprehensive, efficient, and reusable util function library of Go.

Created Nov 2021

generics go golang library lodash
Total 5,308
30 days +10
arunsupe

grep for words with similar meaning to the query

Created Jul 2024

Total 1,258
30 days +7
mattn

wcwidth for golang

Created Jun 2013

go golang wcwidth windows
Total 727
30 days +4
yourbasic

A fast string sorting algorithm (MSD radix sort)

Created Jun 2017

go golang radix-sort sorting-algorithms string-sorting
Total 196
30 days +0
striker2000

Golang port of Petrovich - an inflector for Russian anthroponyms.

Created Dec 2016

Total 50
30 days +0

More

Top 100 of 182

gocolly

Elegant Scraper and Crawler Framework for Golang

Created Sep 2017

crawler crawling framework go golang
Total 25,631
30 days +66
tdewolff

Go minifiers for web formats

Created May 2014

css go html javascript js
Total 4,160
30 days +11
alecthomas

A parser library for Go

Created Jun 2016

ast ebnf go golang grammar
Total 3,904
30 days +8
anaskhan96

Web Scraper in Go, similar to BeautifulSoup

Created Feb 2017

beautifulsoup go golang html-node web-scraper
Total 2,305
30 days +4
gomarkdown

markdown parser and HTML renderer for Go

Created Jan 2018

go golang markdown
Total 1,743
30 days +5
88250

🎼 一款结构化的 Markdown 引擎,支持 Go 和 JavaScript。A structured Markdown engine that supports Go and JavaScript.

Created Dec 2019

gopherjs markdown protyle siyuan vditor
Total 1,681
30 days +7
dlclark

A full-featured regex engine in pure Go based on the .NET engine

Created Jan 2016

go regex regex-engine regexp regular-expression
Total 1,201
30 days +8
wormi4ok

Convert Evernote .enex files to Markdown

Created Sep 2018

converter evernote evernote-enex markdown
Total 1,115
30 days +3
keith-turner

Encodes (and decodes) data as emojis

Created Mar 2018

ecoji emoji encoding fun golang
Total 881
30 days +1
axgle

character-set conversion library implemented in Go

Created May 2012

Total 834
30 days +0
gorilla

Package gorilla/feeds is a golang rss/atom generator library

Created Jan 2013

atom feeds go golang gorilla
Total 819
30 days +1
golang

[mirror] Go text processing support

Created Dec 2014

Total 812
30 days +2
muesli

A collection of (ANSI-sequence aware) text reflow operations & algorithms

Created Nov 2019

ansi dedent hacktoberfest indentation margin
Total 792
30 days +4
importcjj

敏感词查找,验证,过滤和替换 🤓 FindAll, Validate, Filter and Replace words.

Created Apr 2017

dirtywords filter go golang keyword
Total 702
30 days +1
jaytaylor

Golang HTML to plaintext conversion library

Created Apr 2015

go golang html-emails html2text plaintext
Total 588
30 days +0
mattn

Parse line as shell words

Created Jun 2014

go parser shellwords
Total 580
30 days +1
mileusna

Go/Golang parser for user agent strings

Created Aug 2017

go golang user-agent user-agent-parser user-agent-parsing
Total 549
30 days +2
mmarkdown

Mmark: a powerful markdown processor in Go geared towards the IETF

Created Jul 2018

go html5 ietf markdown mmark
Total 512
30 days +0
tdewolff

Go parsers for web formats

Created Nov 2014

css go html javascript js
Total 512
30 days +1
qiniu

Golang bindings to libiconv - Convert string to requested character encoding

Created Mar 2013

Total 470
30 days +0
djimenez

iconv support for Go

Created Jan 2011

Total 424
30 days +0
SlyMarbo

A Go library for fetching, parsing, and updating RSS feeds.

Created Mar 2013

Total 414
30 days +2
niklasfasching

Org mode parser with html & pretty printed org rendering. also shitty static site generator.

Created Dec 2018

emacs go org-mode static-site
Total 402
30 days +1
kennygrant

Package sanitize provides functions for sanitizing text in golang strings.

Created Mar 2013

Total 340
30 days +0
likexian

Whois parser for domain whois information parsing in Go(Golang).

Created Aug 2014

domain golang parser parsing whois
Total 335
30 days +2
vjeantet

simple library to use/parse grok patterns with go (100%)

Created Feb 2015

Total 323
30 days +1
flier

GoLang Binding of HyperScan https://www.hyperscan.io/

Created Feb 2016

Total 317
30 days +0
go-ffmt

Golang beautify data display for Humans

Created Feb 2015

fmt for-humans formater go go-library
Total 316
30 days +0
prataprc

Parser combinator in Go. If there are any cross platform issues or backward compatibility issues, please reach out.

Created Jan 2014

golang parsec parser parser-combinators parsercombinator
Total 302
30 days +2
yosssi

HTML formatter for Go

Created Apr 2014

Total 301
30 days +0
emicklei

Go package for writing graph descriptions using the Graphviz DOT or Mermaid language

Created Dec 2015

dot graphviz mermaid
Total 299
30 days +1
suntong

HTML to Markdown converter

Created Jul 2020

Total 283
30 days +0
yields

A web crawler for Go

Created Sep 2020

go golang scraper spider web-crawler
Total 282
30 days +1
BurntSushi

Go bindings to Rust's regex engine.

Created Apr 2016

Total 262
30 days +0
zzzgydi

Scrape the webpage convert it into Markdown, and enhance AI search applications.

Created Apr 2024

Total 260
30 days +1
forPelevin

Unicode-safe emoji processing for Go: detect, find, remove, replace, and lookup.

Created Dec 2020

emoji go golang strings
Total 239
30 days +1
catatsuy

Streamlining Text Processing

Created Mar 2024

grep-like regexp sed text-processing
Total 237
30 days +0
cornelk

Web scraper that can create an offline readable version of a website

Created Feb 2017

go golang scraper webscraping
Total 218
30 days +0
wasilibs

Drop-in replacement for regexp using re2, for any Go app

Created Sep 2022

golang re2 regular-expressions tinygo webassembly
Total 211
30 days +1
yoheimuta

Yet another Go package which parses a Protocol Buffer file (proto2+proto3)

Created Jul 2018

formatter golang golang-package parser proto2
Total 202
30 days +0
adrg

Go library for detecting and decoding various content front matter formats

Created Oct 2020

decoder front-matter front-matter-parser frontmatter go
Total 194
30 days +1
k3a

Simple Go package to convert HTML to plain text

Created May 2017

go golang html package plain
Total 192
30 days +1
sundy-li

基于文本密度的html2article实现[golang]

Created Jul 2017

golang html2article zheng-wen-chou-qu
Total 191
30 days +0
semanser

Get structured JSON data from any page.

Created Oct 2023

api go golang gpt gpt-3
Total 178
30 days +0
redcode-labs

A tool to extract useful data from documents

Created Nov 2020

extract golang regex sammler
Total 158
30 days +0
curiouslychase

[DEPRECATED] A go org syntax parser to html

Created Jan 2017

golang hugo org
Total 158
30 days +0
shurcooL

GitHub Flavored Markdown renderer with fenced code block highlighting, clickable header anchor links.

Created May 2015

Total 157
30 days +0
sonots

List specified keys of LTSV (Labeled Tab Separated Values)

Created Aug 2014

Total 153
30 days +0
goforj

Immutable fluent Go string helpers for Unicode-aware construction, matching, transformations, and inflection.

Created Dec 2025

fluent-api go goforj golang rune-safe
Total 152
30 days +0
henson

Tracking the most popular Github repos, updated daily.

Created Jan 2017

go markdown scraper
Total 147
30 days +2
stephenafamo

A PDF renderer for the goldmark markdown parser.

Created Apr 2021

commonmark go golang goldmark goldmark-extension
Total 146
30 days +0
grokify

export stripTags from html/template as strip.StripTags

Created Nov 2016

golang html utilities
Total 146
30 days +0
acarl005

A little Go package for removing ANSI color escape codes from strings.

Created Jan 2018

ansi-colors go regex text-processing
Total 144
30 days +0
modood

Produces a string that represents slice data in a text table, inspired by gajus/table.

Created Jul 2017

ascii format output print sheet
Total 141
30 days +0
mattermost-community

Automatically rewrite text matching a regular expression into a markdown link.

Created Jun 2018

golang hacktoberfest mattermost mattermost-plugin regular-expression
Total 140
30 days +0
tidwall

Simple string pattern matcher for Go

Created Aug 2016

Total 140
30 days +0
mssola

HTTP User Agent parser for the Go programming language.

Created Feb 2023

go golang user-agent user-agent-detection user-agent-parser
Total 139
30 days +0
medama-io

Fast trie-based user-agent parser in Go.

Created Nov 2023

go golang ua-parser user-agent useragent
Total 136
30 days +3
jpillora

TLD Parser in Go

Created Jan 2015

Total 136
30 days +0
dimchansky

Go package for detecting and removing a leading Unicode byte order mark (BOM) from an io.Reader.

Created Mar 2017

bom byte-order-mark go golang io-reader
Total 134
30 days +1
TimoKats

Convert markdown files to RSS feed using GO.

Created Jul 2024

go markdown rss
Total 133
30 days +0
protocolbuffers

txtpbfmt parses, edits and formats text proto files in a way that preserves comments.

Created Jul 2019

Total 131
30 days +0
alash3al

Scraply a simple dom scraper to fetch information from any html based website

Created May 2019

crawler crawling dom golang scraper
Total 130
30 days +0
mitchellh

A Go (golang) library for wrapping words in a string.

Created Oct 2014

Total 130
30 days +1
yuin

A Syntax highlighting extension for the goldmark markdown parser.

Created Jul 2019

Total 127
30 days +0
cixtor

Readability is a library written in Go (golang) to parse, analyze and convert HTML pages into readable content. Originally an Arc90 Experiment, it is now incorporated into Safari’s Reader View.

Created Feb 2019

Total 125
30 days +0
mattn

Convert HTML into Markdown

Created Feb 2018

go golang html markdown
Total 125
30 days +0
elliotchance

👪 A Go library and CLI tools for encoding, decoding, traversing, merging, comparing, querying and publishing GEDCOM files.

Created Jun 2018

converts decoder gedcom gedcom-encoder gedcom-files
Total 124
30 days +0
nfx

Structured HTML table data extraction from URLs in Go that has almost no external dependencies

Created Sep 2022

data-extraction go go-generics html
Total 122
30 days +0
roboco-io

HWP(한글 워드프로세서) 문서를 Markdown으로 변환하는 도구

Created Jan 2026

Total 119
30 days +0
rsc

Basic Markdown parser and HTML generator

Created Oct 2023

Total 116
30 days +0
jimsmart

grobotstxt is a native Go port of Google's robots.txt parser and matcher library.

Created Apr 2020

go robots-exclusion-protocol robots-txt
Total 114
30 days +0
badoux

Golang pkg to quickly return a preview of a webpage (title/description/images)

Created Jan 2017

crawler description engine go golang
Total 110
30 days +0
dustin

mediawiki dump parser for loading up wikipedia data

Created Feb 2012

Total 110
30 days +0
aditbajaj

Structured PDF extraction at 318 pages/second on CPU

Created Sep 2025

c go pdf-parser performance python
Total 108
30 days +0
shivamMg

Build Recursive Descent Parsers in Go

Created Mar 2018

go golang grammar recursive-descent-parser
Total 108
30 days +0
gernest

Twitter like mentions and #hashtags parser for Go(Golang)

Created Oct 2015

hashtag parser twitter
Total 105
30 days +0
zyedidia

A PEG parsing machine with support for incremental parsing.

Created Sep 2020

Total 102
30 days +0
yuin

A YAML metadata extension for the goldmark markdown parser.

Created May 2019

Total 102
30 days +0
usememos

A Markdown parser for Go, with extensions for tags, wiki-style links, math, and highlights.

Created Jan 2024

go markdown parser
Total 100
30 days +0
mackee

Extract readable content from web pages - Mozilla’s and Mizchi Readability ported to Go

Created Apr 2025

Total 99
30 days +1
DigDeeply

A service for thousands regex finder with Intel's hyperscan.(海量正则快速匹配,给定一行字符串,能够从海量的正则里快速匹配到是否有符合条件的正则)

Created Dec 2017

Total 98
30 days +0
leodido

Parser for uniform resource names as seen on RFC 8141, RFC 2141, and RFC 7643

Created Nov 2017

go hacktoberfest parser ragel rfc-2141
Total 98
30 days +0
spakin

Easy AWK-style text processing in Go

Created Jul 2015

Total 97
30 days +0
notdodo

Scrape/Parse Pastebin using GO and expression grammar (PEG)

Created May 2017

go osint pastebin peg scraper
Total 96
30 days +0
Aerion

Le site pour rétablir les flux RSS de Radio France

Created Jun 2022

france-culture france-inter podcasts radio-france
Total 92
30 days +3
ernesto-jimenez

Golang library to easily scrape websites based on simple XML declarations

Created Apr 2014

Total 89
30 days +0
alwindoss

Morse Code Library in Go

Created Aug 2018

decode encode go golang library
Total 87
30 days +0
TruthHun

html2markdown,converts html to markdown

Created Feb 2018

html2md markdown
Total 83
30 days +0
benbjohnson

W3C-compliant CSS3 parser and scanner

Created Jul 2014

Total 83
30 days +0
slongfield

Golang implementation of PEP3101

Created Sep 2017

golang golang-library golang-package python-golang-translation string-formatter
Total 82
30 days +0
AllenDang

PipeIt is a text transformation, conversion, cleansing and extraction tool.

Created Jan 2020

text-mining text-processing
Total 80
30 days +0
willnorris

Go library for parsing microformats

Created May 2016

microformats
Total 80
30 days +1

From awesome-go (MIT), plus repos sorted by Jev.