Markdown Task List and Checkboxes
Create checkbox task lists in Markdown for READMEs, GitHub issues, and personal to-do notes with live preview.
Direct answer
A Markdown task list is a bullet list where each item starts with [ ] for an empty checkbox or [x] for a checked one, like - [ ] Todo and - [x] Done. GitHub Flavored Markdown renders these as clickable checkboxes. Draft the list in a live editor to confirm the spacing is correct before you paste it.
Open the Markdown EditorWhen to use this
- You want a checklist inside a README, issue, or pull request.
- You are tracking a personal to-do list in a Markdown note.
- You need nested subtasks under a parent task.
Steps
- Start each line with a bullet marker: - , * , or +.
- Add a checkbox with [ ] for unchecked or [x] for checked, and one space after it.
- Indent a line with two spaces to nest a subtask under its parent.
- Keep a blank line before the list so it does not merge with a paragraph.
- Preview to confirm the checkboxes render and nesting looks right.
Example
## Launch checklist - [x] Draft the content - [x] Add FAQ schema - [ ] Run the build - [ ] Fix any type errors - [ ] Confirm static export - [ ] Publish
Launch checklist (H2)
[x] Draft the content (ticked)
[x] Add FAQ schema (ticked)
[ ] Run the build (empty)
[ ] Fix any type errors (nested, empty)
[ ] Confirm static export
[ ] PublishCommon mistakes
- The brackets need a space inside for an empty box: - [ ] , not - [].
- A checked box is a lowercase x: - [x] ; an uppercase X may not render on every platform.
- Nest subtasks with two spaces of indentation, not a tab, for the most consistent rendering.
FAQ
- How do I make a checkbox in Markdown?
- Write a bullet item and put [ ] for an empty box or [x] for a checked box right after the bullet, with a space after the closing bracket: - [ ] Task.
- Do Markdown checkboxes work everywhere?
- They are part of GitHub Flavored Markdown, so they render as checkboxes on GitHub, GitLab, and many editors. Plain CommonMark viewers may show them as text.
- Can I nest subtasks under a task?
- Yes. Indent the child items by two spaces so they sit under the parent task. Preview the list to confirm the nesting renders correctly.
Related Markdown editor guides
Markdown Syntax Cheat Sheet
A copy-ready Markdown cheat sheet covering headings, bold, italics, lists, links, images, code, tables, and blockquotes.
How to Write a README in Markdown
Structure a clear README.md with a title, badges, install and usage sections, and a live preview before you commit.
Markdown Table Syntax
Write Markdown tables with pipes and dashes, set column alignment, and keep them readable in the editor before you paste.
Markdown for GitHub Comments
Format GitHub issue and pull request comments with task lists, code blocks, mentions, and collapsible sections.
Markdown Editor With Live Preview Online
Edit Markdown on the left and see the rendered result on the right in real time, with no login and browser-only drafts.
How to Add Links and Images in Markdown
Add inline links, reference links, and images in Markdown, including titles and clickable image links.
Markdown Code Blocks and Syntax Highlighting
Add fenced code blocks with a language for syntax highlighting, plus inline code, in Markdown.