General

How to Write a Good README: Template, Examples, and a Free Generator

2026-11-21 · 5 min · Lint Team

Your README is your project's landing page. A visitor decides in about ten seconds whether your project solves their problem and whether it is worth trying — and they make that decision from the README, not the code. Most READMEs fail that test not because the project is bad, but because the file is missing the basics or buried under decoration. Here is what a good README actually needs, the mistakes that make people leave, and a free generator that builds one from your project details.

The sections that matter



Five sections cover 95% of what a reader needs, in this order:

- Name and one-line description. The first line after the title should say what the project does in one sentence a stranger can understand. "A structured JSON logger for Python with zero dependencies" works. "A modern, powerful logging solution" does not — it could describe anything.
- Features. A short bullet list of what it actually does today. One bullet per feature, starting with a verb or noun phrase. If a feature is planned but not shipped, it does not belong here.
- Installation. The exact command, in a code block: pip install fastlog, npm install fastlog, docker pull …. This is the section people copy-paste from; if it is wrong or missing, they leave.
- Usage. The smallest working example — five to ten lines that run as-is. A reader should be able to paste it and see output.
- Tech stack and license. What it is built with, what versions it supports, and under what license people can use it. If there is no license, say so or omit the section — do not imply terms you have not chosen.

Everything else — badges, screenshots, roadmaps, contributor walls — is optional decoration on top of those five.

Mistakes that kill READMEs



- No installation instructions. Surprisingly common, instantly fatal. "Clone the repo and run it" is not an installation section.
- Badge walls. Fifteen shields for build status, coverage, downloads, and chat links push the actual description below the fold. Two or three meaningful badges are fine; a wall of them signals insecurity, not quality.
- Stale examples. Usage code that references renamed functions or removed flags. Readers copy it, it errors, and they conclude the project is abandoned. Test your example the way a stranger would: in a clean environment.
- Feature lists from the roadmap. Listing unshipped features as if they exist erodes trust the moment someone tries them.
- Marketing fluff. "Blazingly fast", "revolutionary", "seamless" — words that claim without evidence. Replace each with a fact: a benchmark, a constraint ("zero dependencies"), a number ("handles 10k req/s on one core").

A minimal template



This skeleton is enough for most projects:

# project-name

One-line description of what it does and who it is for.

Features



- First concrete capability
- Second concrete capability

Installation



pip install project-name

Usage



from project_name import thing

thing.do_something()

Tech Stack



Language and version, key dependencies.

License



MIT


Delete any section you cannot fill honestly. A short README with correct information beats a long one with placeholders.

Generate yours in a minute



The README Generator builds this structure for you: enter the project name, one-line description, features, tech stack, installation command, and a usage example, and it returns a clean README.md. It uses only what you provide — it will not invent features, badges, or a license you did not specify — and sections you leave blank are omitted rather than padded with generic text. It is free to try without signing up.

After generating, two quick passes make it yours. If the wording reads stiff or machine-written, run the prose sections through Naturalize, which makes AI drafts sound human while leaving code blocks exactly as-is. Then check the final text with the grammar checker in "Technical docs" mode so terminology stays consistent and your identifiers are never flagged as spelling errors.

A good README respects the reader's ten seconds: what it is, what it does, how to install it, how to use it. Get those four answers right and everything else is commentary.
📌 Prices and tool count in this article may be outdated. Lint now ships 16 tools with Pro at $12/mo, or $60/year. See the current pricing page.
Try Lint free — no signup, code-aware
Free · no account needed · open full toolkit →
L
Lint Team
Lint Tools — AI writing for developers

Stop letting Grammarly break your code

17 AI tools built for developers. Code-aware parsing.

Try free — no signup View pricing
Or upgrade to Pro for 500 checks a day · All tools · No ads

Need more than free tools?

Unlock 500 checks a day, larger text capacity, and priority support.

View pricing → Upgrade Lint — Pro $12/mo or $60/yr
💬