A fast static site generator distributed as a single binary, with Markdown content, Sass, image processing and search built in.
gohugoio/hugo
A fast, flexible static site generator written in Go, for building websites from Markdown content and templates.
Open-source alternative to:Wix
Squarespace
- Stars
- 90,393
- Forks
- 8,442
- Open issues
- 217
- Last commit
- 6 hours ago
What is it?
Hugo is a static site generator written in Go. It turns content files, typically Markdown, into a complete website using a templating system, and it aims to render full sites in seconds. During development it runs an embedded web server that reloads on changes, and the generated site can then be deployed to any host or built automatically from a Git provider.
Hugo includes built-in asset pipelines for CSS (Sass, PostCSS, Tailwind CSS), JavaScript and TypeScript bundling, and image processing such as resizing, cropping and metadata extraction. It supports multilingual sites, a taxonomy system, and Hugo Modules, which let content, themes, templates and configuration be shared through public or private Git repositories.
Hugo is distributed as a single binary in several editions. The standard edition has no C dependencies, while the extended edition adds LibSass support and the deploy editions can push sites directly to Google Cloud Storage, AWS S3 or Azure Storage.
Key features
- 01Renders complete sites from Markdown content and templates quickly.
- 02Built-in embedded web server with live reload during development.
- 03CSS, Sass, Tailwind CSS, JavaScript and TypeScript asset pipelines.
- 04Image processing for resizing, cropping, filters and metadata extraction.
- 05Multilingual sites and a flexible taxonomy system.
- 06Hugo Modules for sharing content, themes and configuration via Git.
Use cases
- Building documentation sites or project websites from Markdown files.
- Creating blogs, personal sites and resumes with a fast static build.
- Publishing image portfolios or landing pages with automated image processing.
- Running multilingual corporate or news sites deployed from a Git provider.
Quick start
- 1
Install Go 1.27.0 or later and Git
- 2
Build and install the standard edition of Hugo
CGO_ENABLED=0 go install github.com/gohugoio/hugo@latest - 3
Or install the prebuilt binary or a package manager package for your OS, see the installation docs
Things to know
- Building from source requires Go 1.27.0 or later.
- The extended edition needs a C compiler such as GCC or Clang.
- Embedded LibSass was deprecated in v0.153.0 and will be removed, so Dart Sass is recommended instead.
In collections
Topics
FAQ
- What is hugo?
- A fast, flexible static site generator written in Go, for building websites from Markdown content and templates. Hugo is a static site generator written in Go. It turns content files, typically Markdown, into a complete website using a templating system, and it aims to render full sites in seconds. During development it runs an embedded web server that reloads on changes, and the generated site can then be deployed to any host or built automatically from a Git provider.
- Is hugo free to use? What license does it have?
- hugo is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is hugo still maintained?
- Actively maintained. The last commit to hugo was on Nov 6, 2026.
- What can I use hugo for?
- Building documentation sites or project websites from Markdown files. Creating blogs, personal sites and resumes with a fast static build. Publishing image portfolios or landing pages with automated image processing. Running multilingual corporate or news sites deployed from a Git provider.
- How do I install hugo?
- Install Go 1.27.0 or later and Git Build and install the standard edition of Hugo: CGO_ENABLED=0 go install github.com/gohugoio/hugo@latest Or install the prebuilt binary or a package manager package for your OS, see the installation docs
- Where can I get hugo?
- The source code and installation instructions are on GitHub: https://github.com/gohugoio/hugo
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Open-source Hugo framework of Tailwind blocks for building landing pages, portfolios, blogs and docs from plain Markdown files.
Halo is an open-source website builder for personal blogs, knowledge bases, corporate sites and online stores.
A simple JavaScript static site generator that turns a directory of templates in HTML, Markdown, Liquid, Nunjucks and more into HTML.
A one-click WordPress plugin that exports posts, pages, metadata and settings to Markdown and YAML for Jekyll, Hugo or other static site generators.
Open-source content management system (CMS) written in PHP for building websites, blogs and publishing platforms, mirrored from the official Subversion repository.