Skip to content
ReadmeOrbit

README best practices

A README is the front door of your project. Most visitors decide within a few seconds whether a project is worth their time — the README is how they decide. These guidelines apply whether you're writing a library, an app or an internal tool.

1. Say what it is in the first sentence

Put a one-sentence description directly under the title. Answer: what does it do, and who is it for?

md
# Beacon

A lightweight, self-hosted uptime monitor for small teams.

Avoid opening with badges, history or a table of contents — they push the answer below the fold.

2. Make installation copy-pasteable

Readers should be able to copy a single block and have a working setup. Use fenced code blocks with a language so they're highlighted:

bash
npm install beacon

List prerequisites (runtime versions, databases, API keys) before the install steps, not after someone hits an error.

3. Show the smallest useful example

A short usage example that actually runs is worth more than paragraphs of description. Show input and output where it helps.

4. Structure with predictable sections

Most good READMEs follow roughly this order:

  1. Title and description
  2. Features (a short bulleted list)
  3. Installation
  4. Usage
  5. Configuration or API reference
  6. Contributing
  7. License

Use one # heading for the title and ## for sections. Don't skip heading levels — it hurts readability and screen-reader navigation.

5. Use visuals when they explain faster

A screenshot or GIF of a UI, or a diagram of an architecture, often explains more than text. Always add alt text:

md
![Dashboard showing three monitors with status and response time](./docs/dashboard.png)

6. Keep reference material scannable

Configuration options and API methods work best as tables:

OptionDefaultDescription
port8080HTTP port
interval60sTime between checks

If the reference grows beyond a screen or two, move it into a docs/ folder and link to it.

7. State the license

Code without a license can't legally be used by others. Add a LICENSE file and a short License section that names it.

8. Remove placeholders before publishing

Templates are a great start, but leftover username/project links, TODOs and placeholder images erode trust. The ReadmeOrbit review flags these for you.

Checklist

  • One-sentence description under the title
  • Copy-pasteable installation steps
  • A usage example that runs
  • Code blocks declare a language
  • Images have alt text
  • Links work (including #section anchors)
  • Contributing guidelines
  • License

Ready to write yours?

Open the editor — no sign-up, saved in your browser.

Create README