21 / Read · Markdown → Reading

Markdown reader online

Read the draft as a book.

Read Markdown files online as a document, with rendered headings, tables, code blocks and a chapter list. Adjust the reading view, search the text and save notes without editing the source. Relative image files and specialized Markdown extensions may not appear as they do in your writing app; embedded images are supported.

  • Markdown, .md or .mdown, up to 10 MB
  • Parsed and rendered in this tab
  • No account, no install, no upload
All tools
Opening your workspace…

At a glance

Markdown Reader quick specs

Verified
Input
Markdown (.md, .markdown, .mdown)
Output
Paginated reader with TOC, search, bookmarks & highlights
Scope & limit
Up to 10 MB per file
Processing
Local in your browser — files never upload
Price & account
Free; no sign-up or install required
Key boundary
Renders local Markdown safely; external remote images are not fetched

From file to finished

How to read a Markdown file as a book in your browser

  1. Drop the file on the dropzone, press Choose a Markdown file, or press Try a sample to open the bundled notes.md, whose headings become five chapters in Contents.

  2. While the status reads “Rendering the Markdown and finding its headings…”, marked parses the text and the splitter collects hash headings outside code fences; the reading view opens at its starting chapter.

  3. Open Contents with T and type in “Find a chapter” to narrow the list; a third-level heading stays inside its parent chapter instead of appearing as an entry.

  4. Press / to search every chapter, B to bookmark the page, or select text to highlight it in one of four colors and attach a note.

  5. Use Display for Pages or Scroll, type size from 14 to 30 pixels, serif or sans, line spacing, reading width and one of four themes; a narrow window switches to Scroll.

  6. Close the tab and reopen the same file from Continue reading to resume; a renamed file or a different byte size starts a new position instead.

Formats and inputs

Supported Markdown formats and inputs

Markdown is a family of text conventions rather than one universal app format. This reader uses GFM rendering, but its chapter list recognizes first- and second-level ATX headings, the lines beginning with # or ##. YAML front matter is not book metadata here, and Setext headings need separate consideration. A relative image path points to another file that the picker has not supplied.

InputSupportWhat to expect
.md with hash headings and GitHub-flavored syntaxBest fitHeadings, tables, task lists, code fences, quotes and links render; hash and double-hash headings become chapters in file order.
.markdown or .mdown fileWorksThe picker accepts both extensions and the same parser runs; the reading view and chapter split do not depend on which suffix you chose.
Document whose sections use third- to sixth-level headingsWorksThe headings render at their own level inside the chapter, but they never become contents entries, so a deep outline produces few chapters.
Title and sections marked with ==== or ---- underlinesPartialSetext headings render as first- and second-level headings, but the splitter only reads hash headings, so the file opens as one chapter.
YAML front matter at the top of the filePartialThe block is not stripped: the opening dashes become a horizontal rule and the closing dashes can turn the keys into a heading above the text.
Relative, absolute or remote imagesPartialEvery image whose source is not a data: or blob: URL is removed before display, so ./diagram.png and https://… pictures leave no broken icon and no gap text.
Footnotes, math, definition lists and diagramsNot supportedThese have no renderer here: footnote markers stay bracketed text, dollar signs stay dollar signs, and a Mermaid fence appears as a code block.
.txt file containing Markdown, or a file over 10 MBNot supportedRouting is by extension, so a .txt opens in the plain-text reader; the size gate rejects anything above 10 MB before parsing begins.

What it can do

What Markdown Reader can do

Turn a long draft into chapters you can jump between

The splitter reads ATX headings: one or two hashes start a chapter, and deeper headings stay inside the chapter above. Headings inside fenced code are ignored, so a hash in a shell comment does not split the file. A document with fewer than two heading sections stays one chapter, titled by its first hash heading or its file name. A preamble before the first heading is kept only when it runs past 120 characters, where it appears as “Opening pages”.

See tables, code and task lists as rendered Markdown

marked runs with GFM enabled and line breaks off, so a single newline stays a space and a blank line starts a paragraph. Pipe tables, task lists with disabled checkboxes, strikethrough, bare-URL autolinks and fenced code all render. Code keeps its indentation but gets no syntax colors. A footnote marker, a math expression, a definition list or a Mermaid block is not converted: it appears as the text you typed. YAML front matter is not stripped either.

Find one phrase across every chapter

Search reads the whole file rather than the open chapter. It starts at two characters and stops at 240 matches, then tells you the list is capped; N and Shift + N move through the hits. The contents drawer has its own “Find a chapter” filter, so a long file with forty H2 sections can be narrowed by typing part of a title. Matches are shown with their chapter, and jumping to one closes the search panel.

Mark a passage and take the note with you

Select text in the reading frame to highlight it in one of four colors, then attach a note. Highlights and notes collect under Explore → Notes with the chapter and date, and a bookmark with B marks the current page. The export menu writes Markdown, Obsidian, Readwise CSV or plain CSV, so the passages can move into a notes app. An export is empty until you mark something, and clearing the book’s data removes every mark.

Return to the paragraph you closed

A position key is built from the file name, byte size, title and chapter count, and the 30 most recent keys are kept in local storage. Reopening the same file returns to its chapter and fraction; Continue reading lists up to five books with a stored copy. Renaming the file, editing its headings or saving a different byte size changes the key, so the reader starts at the beginning instead of resuming in the wrong place.

Hear the current chapter read back

Listen uses the browser’s speech synthesis to read the blocks in the open chapter, with a voice picker and speeds from Relaxed at 0.8 to Fast at 1.5. Follow along scrolls the page to the sentence being spoken. The queue stops when the chapter ends; it does not continue into the next one, so a long file needs a click per chapter. A voice error tells you to choose another voice in Display.

After you run it

What you get from Markdown Reader

The page writes no file. What you get is a reading surface, a saved place and, if you mark anything, an export. Each row is a signal you can check on screen to decide whether the file was read the way you expected.

What you getWhat it means
A contents list with one entry per chapter headingCount the entries against the hash and double-hash headings outside code fences; deeper headings are inside chapters, and a file with fewer than two sections shows one entry.
Formatted text where the source had punctuationTables, lists, quotes and fenced code appear as layout, not as asterisks and pipes. If you still see brackets around a footnote or dollar signs around math, that syntax has no renderer.
A chapter counter and a percentageThe footer names the current chapter and the share of the book read. The opening chapter is chosen from titles that look like a chapter opener, so the first section is not always the one shown.
A saved place after a reloadReopening the same file lands on the saved chapter and fraction. A rename, an extra heading or a different byte size changes the key and starts you at the beginning.
An export containing the passages you markedExplore → Export writes Markdown, Obsidian, Readwise CSV or plain CSV. The menu stays empty until a bookmark, highlight or note exists for this file.
A missing image where the source pointed at a fileA relative or remote source is removed with its element, so the paragraph closes up and no broken-image icon appears. A section that held only such an image is skipped entirely.
One chapter for a file that never splitsWhen the splitter finds fewer than two heading sections, the whole file becomes a single chapter named after its first hash heading or its file name.

When people reach for it

Common Markdown Reader use cases

This view suits reviewing a draft or studying documentation without editing it. Keep the source app for writing, and check asset dependencies when a document’s meaning depends on relative images, special syntax or custom rendering.

If you need to…What this tool does
Read a README or docs page without cloning the repositoryOpen the file and the hash headings become chapters, so a long README can be skimmed section by section instead of scrolled as one wall of text.
Proof a chapter before it goes into an EPUBTables, task lists and code fences appear as a reader will see them, while footnote markers and front matter stay visible as source, which is the point to fix them.
Check a table or a code block on a phoneScroll mode is chosen below 760 pixels, the table scrolls inside its own frame and code keeps its indentation, so a narrow screen does not turn the page into a horizontal scroll.
Find one sentence in a long notes fileSearch covers every chapter, lists hits with their chapter and stops at 240 matches; a highlight keeps the sentence with a note for export.
Keep a place in a file you reopen every dayThe position key follows the file name and byte size, so the same changelog returns to the paragraph you closed; Continue reading keeps the last five files on the shelf.
Listen to a chapter while comparing it with the sourceRead aloud follows the open chapter at 0.8 to 1.5 speed and stops at its end, which is enough to hear an awkward sentence without losing your place.

Why use it

Why read a Markdown file as a book

This reading view suits drafts and documentation that need sustained review rather than active editing. It helps you evaluate the prose away from source markup while making unsupported assets and syntax visible before you use the file as an ebook source.

Review the reader’s experience away from the editor

Source notation can make a draft feel different from a finished document. A reading view helps you notice long sections, awkward headings and interruptions in the prose without placing editing controls around every paragraph you inspect.

Navigate a long document by its section structure

A README or handbook can be technically one file but contain many distinct tasks. Chapter navigation helps you return to a section during review, rather than repeatedly searching for its position in a long editor buffer.

Annotate a review without changing the draft

Keeping reading notes outside the source is useful when you are reviewing another person’s manuscript or an archived document. You can collect comments and quotations while preserving the original text for a later, deliberate editing pass.

Expose portability problems before ebook conversion

Missing relative images or visible front matter show where a draft relies on its original application. Spotting those dependencies here helps you prepare assets and metadata before expecting a standalone reading edition to reproduce the same result.

When it does not work

Why Markdown Reader may fail

These are the outcomes the code produces on purpose. Two of them stop the file before the reader opens; the rest change what appears on the page. The message or the missing element tells you which branch you hit.

  • The file is larger than 10 MB

    The shell checks the chosen file’s size before parsing and refuses it with a message naming the limit. The reader never opens, so a 12 MB export from a documentation folder has to be split or read elsewhere.

  • The file has no words

    A zero-byte file produces “is empty. Choose a file with content.”, while a file of spaces or punctuation reaches the Markdown reader and stops with “This Markdown file is empty. Choose a file with words in it.”

  • The headings are not the kind the splitter reads

    Setext titles and hash-three headings render, but they do not create chapters. The file opens as one chapter and the contents list has a single row, which looks like a parsing failure but is the documented rule.

  • An image does not appear

    Every image whose source is not a data: or blob: URL is removed after parsing. A relative path is not resolved against the .md file, because the page has no access to its folder, and a remote URL is dropped before it can be fetched.

  • Front matter appears above the text

    The parser is not given a front-matter extension, so the opening dashes become a rule and the closing dashes become a setext underline for the key lines. The title and tags are therefore visible in the reading view.

  • The reading view opens past the first section

    A later heading whose title contains book, chapter, part or introduction is treated as the starting point, so the opening pages can be skipped. The contents list still holds every chapter, and the first one can be opened from there.

  • Raw HTML behaves unlike a sanitized preview

    Only script, iframe, object and embed are removed. Other tags, including style and form elements, stay in the chapter; the frame blocks scripts with a sandbox and a content policy, but it does not rewrite the rest of the markup.

Repair paths

How to fix common Markdown Reader issues

Start with the sentence under the stage or the element missing from the page. The first two rows are refusals; the rest are rendering rules you can work around in the file.

What you seeLikely causeWhat to do
“This file is larger than 10 MB. Choose a smaller file…”The chosen file exceeds the size gate.Split the file at a chapter heading into two files, or read the large copy in a desktop editor; the page will not raise the limit.
“This Markdown file is empty. Choose a file with words in it.”The file contains only whitespace or punctuation.Open it in an editor, confirm it is not a placeholder, add the text and save it again before choosing it here.
Contents shows one row for a long documentThe sections use setext underlines or third-level headings, or there is only one heading.Rewrite the main sections as hash or double-hash headings at the start of a line, outside code fences, then reopen the file.
An image is missing from a chapterThe source is relative, absolute or remote, and only data: images survive.Embed the picture as a data URI in the Markdown, or open the image separately; the reader cannot read a file from the .md folder.
YAML keys appear as a heading above the first chapterFront matter is not stripped and the closing dashes act as a heading underline.Delete or comment out the front-matter block in the copy you read, or accept it as the first screen; the file is not changed by the reader.
The first chapter is skipped on openA later heading contains a word such as book, chapter, part or introduction.Open the first section from Contents, or retitle it so it does not read as a chapter opener; a saved place still wins on a return visit.
A chapter disappears from the contents listThe section held only a non-data image or whitespace after parsing.Add a sentence under that heading, or embed its image as a data URI, so the section has text or a supported image to show.

Plain-language notes

Key Markdown reading terms explained

These terms decide what appears in the contents list or in the reading frame. Each one is used in the sections above with the meaning given here.

Markdown

A plain-text markup format in which punctuation marks carry structure: hashes for headings, dashes for lists, backticks for code. The file stays readable as text, which is why an editor shows the marks and a reader hides them.

GFM

GitHub Flavored Markdown, the dialect marked is asked to parse here. It adds pipe tables, task lists, strikethrough and bare-URL autolinks to CommonMark, and it is the reason a README renders the way it does on a repository page.

ATX heading

A heading written with one to six hashes at the start of a line. This reader splits chapters on the first two levels only; levels three to six are rendered but stay inside the chapter that contains them.

Setext heading

A heading made by underlining a line with equals signs or dashes. It renders as a first- or second-level heading, but the splitter does not recognize it, so it never starts a chapter.

Fenced code block

A block opened and closed by three backticks or three tildes. The splitter tracks these fences so a hash at the start of a code line is not mistaken for a heading; the block itself is shown as monospace without colors.

Front matter

A block of metadata between two lines of three dashes at the top of a file. This reader has no front-matter step, so the block is parsed as Markdown and its keys can appear as a heading.

Data URI

An image encoded into the Markdown text itself, starting with data:. It is the only image source kept, because the page cannot resolve a path relative to the .md file and deliberately drops remote sources.

Reading position key

A short hash of the file name, byte size, title and chapter count. It ties a saved chapter and fraction to one version of a file; any change to those values produces a new key.

ATX and Setext headings

ATX headings use leading hash marks; Setext headings use an underline beneath a title. Both belong to Markdown, but this reader’s contents detection is based on first- and second-level ATX headings, so rendered appearance and chapter navigation may differ.

Other ways to do it

Markdown Reader vs. alternatives

Reading is one job a Markdown file brings. These are the cases where another tool is the better first stop, and what choosing it costs you.

OptionBetter whenTrade-off
A desktop Markdown editor with a preview paneYou plan to edit the file and want the preview to update as you type.An install and a copy of the file; the preview may use a different parser from this page.
Convert to EPUB or PDF and read on a deviceYou need pagination, an e-ink screen or annotations that travel with the book.A conversion step, a new file and a chance that tables or images change in the process.
The repository’s own rendered viewThe file already lives on GitHub, GitLab or another host and you want the canonical rendering.A browser tab, a network connection and an account for private repositories.
pandoc or a static site generatorYou are publishing the document rather than reading it, and need a controlled output format.A toolchain, a template and a build step before the first page appears.
A plain text editorYou need the exact bytes, the line endings or a diff rather than a reading view.An editor preserves direct access to the source and may remember position or provide a preview. Choose it when writing and exact syntax matter more than a separate reading session.

Your files and this tool

Privacy, accuracy and Markdown Reader limits

Nothing here sends the document anywhere. What persists is small, local and removable, and the accuracy notes belong to the same picture.

  • The chosen file is read through the browser’s file API and parsed in this tab; no request carries its bytes, and the page never writes a converted copy back to disk; it does not certify the file as valid Markdown.
  • The page loads its own script and styles plus the site-wide page-view analytics used across this site; neither receives the Markdown text. Try a sample is the only action that fetches a file from this site.
  • Settings live in local storage under cw-reader-settings and apply to every file opened in this browser; positions live under cw-reader-progress, capped at the 30 most recent files.
  • Bookmarks, highlights and reading time sit in cw-reader-annotations and cw-reader-stats, kept for the 30 most recently updated files; clearing site data removes them with the positions.
  • Continue reading stores up to five files and 180 MB in IndexedDB under calibre-web-reader, including a copy of each; removing a card deletes that copy.
  • Read aloud uses the browser’s speech synthesis. A voice marked local keeps the text on the device; a network voice may send the spoken sentences to its provider.

A little more detail

Frequently asked questions about Markdown Reader

What Markdown syntax can this reader render?

It parses GitHub Flavored Markdown: hash headings, paragraphs, ordered and unordered lists, task lists, blockquotes, fenced and indented code, pipe tables, links, bare-URL autolinks, images, bold, italic and strikethrough. Line breaks are not converted, so a single newline joins two lines into one paragraph. Footnotes, math, definition lists, Mermaid diagrams and front matter have no handler and appear as typed. Code blocks keep their characters but get no syntax colors.

Why did my headings not become chapters?

Only hash and double-hash headings outside fenced code create chapters. A title underlined with equals signs is a setext heading: it renders, but the splitter does not see it. Hash-three and deeper headings also stay inside the chapter above. A file with fewer than two heading sections becomes one chapter named after its first hash heading or its file name. Rewriting the main sections as hash or double-hash headings is the fix.

Why are my images missing?

After parsing, every image whose source is not a data: or blob: URL is removed. A relative path such as ./diagram.png cannot be resolved because the page never reads the folder the .md file came from, and a remote picture is dropped before it can be requested. Embed the image as a base64 data URI to keep it. A section that contained only a dropped image is skipped rather than shown empty.

Does it render HTML inside Markdown?

Raw HTML passes through the parser and is kept as markup, except for script, iframe, object and embed, which are removed. The reading frame uses a sandbox without script permission and a content policy that blocks scripts, connections and frames, so embedded JavaScript does not run. This path does not use DOMPurify, the sanitizer used by the converter tools, so other tags are not rewritten. Treat HTML in an untrusted file with the same care as the file itself.

Is my Markdown file uploaded anywhere?

No. The browser reads the file from disk and parses it in the tab; its text is never sent in a request. The page loads its own script and styles and the site-wide page-view analytics that every page here uses, but neither receives the document. Pressing Try a sample fetches the bundled notes.md from this site, not your file. A network read-aloud voice is the one case where spoken sentences may leave the device.

Can I edit the file or save the rendered page?

No. The reader has no editing surface and never writes to the file; it produces a reading view, a saved position and optional note exports. To change the Markdown, use an editor and reopen the saved file. To keep the rendered result, print the page from the browser or convert the file with a publishing tool. Notes and highlights can be exported as Markdown, Obsidian, Readwise CSV or plain CSV.

Why is my YAML front matter visible?

The parser is not given a front-matter extension. The opening line of three dashes becomes a horizontal rule, and the closing line becomes a setext underline that turns the key lines into a heading. The values are therefore shown above the first chapter. Remove or comment out the block in the copy you read if it distracts you; the file on disk is not modified. This is a rendering rule, not a parsing error.

Why does the same Markdown look different on GitHub or in my editor?

Rendering depends on the parser, enabled extensions, styles and access to related files. A repository can resolve a relative image that this file picker never received, and a writing app may add math or special footnotes. Use the preview to inspect portability, but keep the original folder and application when the document relies on those additional features.

Can I open a .txt file that contains Markdown?

The route is chosen by extension before the file is read. A .txt file goes to the plain-text reader, even when its contents use hash headings and pipe tables, and it will be shown as unformatted text. Rename a copy to .md, .markdown or .mdown and open that instead. The same extension check is why a file above 10 MB is refused before any parsing starts.