01What is GitHub README Generator?
A new repository with no README looks abandoned, even when the code is fine. This generator is a deliberately small starter. You fill in six fields and it writes a README.md skeleton you can paste in now and grow later. The fields are Project Name, Author, Description, Install Command, Usage Example and License. The output always has the same shape. It starts with a level-one heading for the project name, then an optional license badge and your description. After that come an Installation section with your command in a bash code block, a Usage section with your snippet in a plain code block, and a License section that points readers to the LICENSE file. An Author section is added only if you typed a name. Empty fields fall back to placeholder text such as Project Name, A brief description of the project. and // Add usage examples here. That way you can see at a glance what still needs writing. The Install Command field starts out as npm install. The license list holds six SPDX identifiers: MIT, Apache-2.0, GPL-3.0, BSD-3-Clause, ISC and Unlicense. Unlicense gets a public-domain sentence. The other five get a licensed-under sentence. The badge is a shields.io static badge, and this is where a small detail matters. shields.io uses a single dash to separate the label, message and colour in the URL. A literal dash has to be written as two dashes. The generator does that for you, so Apache-2.0 becomes Apache--2.0 in the URL. Without the escaping, a name like BSD-3-Clause would be split in the wrong place and the badge would not render as intended. Code fences get similar care. If your usage snippet contains its own triple backticks, the surrounding fence is made one backtick longer than the longest run inside. CommonMark only closes a fence with a run at least as long as the opening one, so your snippet cannot end the block early. Here is a short example. Name the project tiny-cache, describe it as An in-memory LRU cache., set the install command to npm install tiny-cache and pick Apache-2.0. You get a # tiny-cache heading, the badge, your sentence, then the Installation block. There are no section pickers, project types or CI, coverage or download badges. For more layouts, try the README Template Generator. The markdown is built from your inputs inside the page and shown as plain text, ready to copy.
Developers publishing a small project to GitHub who want a correct README skeleton with install, usage and license sections in a minute. The tool runs entirely in your browser, so your data never leaves your device.
02How to use GitHub README Generator
- Enter the Project Name and, optionally, the Author.
- Write a short Description of what the project does and who it's for.
- Set the Install Command and paste a Usage Example.
- Pick a License and choose whether to include the badge.
- Click the copy icon and save the result as README.md in your repository root.
03Worked examples
- Input:
Project Name: tiny-cache; Description: An in-memory LRU cache.; Install Command: npm install tiny-cache; Usage Example: import { LRU } from 'tiny-cache'; License: Apache-2.0; Include badges on - Result:
# tiny-cache  An in-memory LRU cache. ## Installation ```bash npm install tiny-cache ``` ## Usage … - The dash in Apache-2.0 is doubled in the badge URL because shields.io uses a single dash as a separator.
- Input:
All fields empty; Usage Example: Run ```npm test``` first; License: Unlicense; Include badges off - Result:
# Project Name A brief description of the project. … ## Usage ```` Run ```npm test``` first ```` ## License This project is released into the public domain under the Unlicense. See [LICENSE](LICENSE). - The usage block gets a four-backtick fence so the triple backticks in your text can't close it early. The Unlicense gets a public-domain line instead of the usual licensed-under line.
- Input:
Project Name: x; License: BSD-3-Clause; Include badges on - Result:
# x  … - Every dash in the license name is doubled for the badge, not just the first.
- Input:
Project Name: pyfmt; Install Command: pip install pyfmt; License: MIT; Author: Sam Lee; Include badges off - Result:
# pyfmt A brief description of the project. ## Installation ```bash pip install pyfmt ``` … ## License This project is licensed under the MIT license. See [LICENSE](LICENSE) for the full text. ## Author Sam Lee - Trimmed in the middle. The empty description falls back to placeholder text, and the Author section appears because a name was entered.
04Common use cases
- Giving a weekend side project a tidy README before pushing it to GitHub for the first time
- Writing the minimum README a course assignment or hackathon submission asks for
- Getting a correctly escaped license badge for an Apache-2.0 or BSD-3-Clause project
- Producing a consistent starting point that you then extend with configuration and contributing sections
- Documenting a usage snippet that itself contains fenced Markdown without breaking the page
- Adding a README to an internal tool repo so teammates know how to install and run it
05Tips
- The badge only describes the license; you still need a LICENSE file with the full text, which the License Generator can produce.
- Replace the generic npm install with the exact package name, for example npm install your-package, so readers can copy it as is.
- Show the smallest example that actually runs; readers copy the first code block they see.
- GitHub shows a README from .github/, the repository root or docs/; if there are several, the one in .github/ wins, then the root, then docs/.
06Related concepts
Markdown, shields.io badges, Open source, Contributing guidelines.
Frequently Asked Questions
What is GitHub README Generator?
GitHub README Generator is a free, browser-based developer tool on AIDToolStack. Generate GitHub README templates with badges, install and usage sections. It requires no installation or sign-up and works entirely in your browser.
Is GitHub README Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does GitHub README Generator store my data?
No. It runs in your browser; nothing is uploaded.