# Markdown Viewer

> A free, privacy-first online markdown editor with live preview, LaTeX math, Mermaid diagrams, syntax highlighting for 190+ languages, and export to HTML/PDF/PNG. Normal editor use processes documents in the browser with no sign-up.

## About

- **Name**: Markdown Viewer
- **URL**: https://markdownviewer.org
- **Category**: Developer Tool / Online Markdown Editor
- **License**: Free to use
- **Platform**: Runs in any modern browser (Chrome 90+, Firefox 90+, Edge 90+, Safari 15+)
- **Privacy**: Normal editor use stores and processes documents in the browser. Shared sessions disable analytics. Advertising may still load and operates separately; the `#share=` document fragment is not included in HTTP requests.

## Features

- Live split-screen markdown preview with synchronized scrolling
- Syntax highlighting for 190+ programming languages (JavaScript, Python, Rust, Go, SQL, etc.)
- LaTeX math expressions via KaTeX (inline `$...$` and display `$$...$$`)
- Mermaid diagrams (flowcharts, sequence diagrams, Gantt charts, class diagrams)
- GitHub Flavored Markdown (GFM): tables, task lists, strikethrough, autolinks
- Export to Markdown (.md), standalone HTML, PDF, PNG
- Copy rendered HTML to clipboard (for email, documents, and publishing tools)
- Shareable URLs that encode the entire document
- Dark / light mode with system-preference detection
- Multi-tab support — edit several documents at once
- Drag-and-drop file import
- Responsive design for phones and tablets

## Key Pages

- [Home](https://markdownviewer.org/) — Landing page and live editor
- [Markdown Editor](https://markdownviewer.org/markdown-editor) — Online Markdown editor with live preview, GFM, LaTeX, Mermaid and autosave
- [Markdown Reader](https://markdownviewer.org/markdown-reader) — Open a local .md file or a public Markdown URL in a clean reading view; URLs are retrieved through a server fetch route
- [GitHub README Viewer](https://markdownviewer.org/github-readme-viewer) — Preview a GitHub repository's README with GitHub-style rendering; the README is retrieved through a server fetch route
- [Markdown Compare](https://markdownviewer.org/markdown-compare) — Diff two Markdown documents side by side with line highlighting and synchronized scrolling
- [MD to PDF](https://markdownviewer.org/md-to-pdf) — Export Markdown as a print-ready PDF with paper size, margins, fonts and colours
- [Markdown to HTML](https://markdownviewer.org/markdown-to-html) — Convert Markdown to clean HTML with themes, math and Mermaid, then copy or download it
- [Markdown Table Generator](https://markdownviewer.org/markdown-table) — Build a Markdown table in a visual grid or from pasted CSV/Excel data; export .md, .png or .html
- [Mermaid Live Editor](https://markdownviewer.org/mermaid-editor) — Write Mermaid diagrams with live preview, a hand-drawn sketch mode, and PNG, SVG or .mmd export
- [Markmap Editor](https://markdownviewer.org/markmap-editor) — Turn a Markdown outline into an interactive mind map; export PNG, SVG or standalone HTML
- [PDF to Markdown Converter](https://markdownviewer.org/pdf-to-markdown) — Extract text and run OCR locally; a server fetch route retrieves public PDF URLs when direct browser access fails
- [HTML to Markdown](https://markdownviewer.org/html-to-markdown) — Convert pasted HTML, rich text and local HTML batches in the browser; Fetch URL retrieves public webpage HTML through a server route
- [Markdown to Text](https://markdownviewer.org/markdown-to-text) — Strip Markdown syntax to plain text, or copy it as rich text for Word and Google Docs
- [Paste to Markdown](https://markdownviewer.org/paste-to-markdown) — Press Ctrl+V to turn clipboard rich text from Word, Google Docs, or a web page into Markdown
- [Text to Markdown](https://markdownviewer.org/text-to-markdown) — Convert pasted rich text or plain text into clean Markdown in the browser
- [Word to Markdown](https://markdownviewer.org/word-to-markdown) — Convert Word and DOCX to Markdown in the browser, with image extraction
- [Markdown to Word](https://markdownviewer.org/markdown-to-word) — Export Markdown as an editable DOCX document with real Word heading styles
- [Markdown to LaTeX](https://markdownviewer.org/markdown-to-latex) — Convert Markdown to a LaTeX article or Beamer slides, with math kept verbatim, and open the result in Overleaf
- [Markdown to PowerPoint](https://markdownviewer.org/markdown-to-powerpoint) — Convert Markdown to editable PPTX with themes and speaker notes; resize the editor and preview, review individual slides, or present in the browser
- [Markdown to Excel](https://markdownviewer.org/markdown-to-excel) — Detect every table in a Markdown document and export them as an XLSX workbook or CSV
- [Markdown to Image](https://markdownviewer.org/markdown-to-image) — Render Markdown as a themed PNG, JPG, or SVG poster, split into cards on thematic breaks
- [Excel to Markdown](https://markdownviewer.org/excel-to-markdown) — Paste spreadsheet cells or open an .xlsx and get a GFM table
- [CSV to Markdown](https://markdownviewer.org/csv-to-markdown) — Convert CSV or TSV into GFM tables with delimiter, encoding, header and line-break controls; runs locally, up to 1 MB per file
- [EPUB to Markdown](https://markdownviewer.org/epub-to-markdown) — Extract DRM-free EPUB chapters in spine order; export combined Markdown or a ZIP with chapter files and supported raster images, up to 25 MB input
- [Slack Markdown](https://markdownviewer.org/slack-markdown) — Convert Markdown to Slack mrkdwn or a Block Kit text object; basic reverse conversion, with explicit formatting limits and no Slack connection
- [Image to Markdown](https://markdownviewer.org/image-to-markdown) — OCR a screenshot or scan into Markdown locally; the image is not uploaded
- [Markdown Cheat Sheet](https://markdownviewer.org/cheat-sheet) — Complete syntax reference: basic, GFM, LaTeX math, Mermaid
- [Markdown Templates](https://markdownviewer.org/markdown-templates) — Copy-ready README, CHANGELOG, issue/PR, API docs, meeting notes, weekly report, and resume templates
- [Discord Markdown](https://markdownviewer.org/discord-markdown) — Discord Markdown cheat sheet and editor with a live Discord message preview
- [Obsidian Markdown](https://markdownviewer.org/obsidian-markdown) — Obsidian Flavored Markdown cheat sheet and editor with a reading-view preview
- [Embed](https://markdownviewer.org/embed) — Put a Markdown editor, viewer or converter on another website with one iframe
- [Blog](https://markdownviewer.org/blog) — Guides and engineering notes on each converter
- [About](https://markdownviewer.org/about) — What the site is and how it works
- [Contact](https://markdownviewer.org/contact) — How to reach us
- [Privacy Policy](https://markdownviewer.org/privacy-policy) — Local document processing, website analytics and data handling
- [Terms of Service](https://markdownviewer.org/terms) — Conditions of use
- [Sitemap](https://markdownviewer.org/sitemap.xml) — Full sitemap
- [Robots](https://markdownviewer.org/robots.txt) — Crawler access directives and sitemap location

## Español

- [Visor y editor de Markdown online con vista previa](https://markdownviewer.org/es) — Abra archivos .md en un visor de Markdown online gratuito. Edite con vista previa estilo GitHub, use Mermaid y KaTeX y exporte a PDF o HTML sin registrarse.
- [Markdown a PDF online gratis y sin marca de agua](https://markdownviewer.org/es/md-to-pdf) — Convierta archivos MD a PDF en el navegador, sin marca de agua ni registro. Revise la vista previa de impresión y ajuste el tamaño de papel y los márgenes.
- [Convertir PDF a Markdown online gratis con OCR](https://markdownviewer.org/es/pdf-to-markdown) — Convierta PDF a Markdown gratis y descargue un archivo .md editable. Extraiga texto de PDF digitales o use OCR local para escaneos, sin crear una cuenta.
- [Convertir texto a Markdown online gratis](https://markdownviewer.org/es/text-to-markdown) — Convierta texto de Word, Google Docs o notas sin formato a Markdown. Conserve encabezados, listas y tablas, y copie el resultado o descargue el archivo .md.

## Português

- [Visualizador e editor de Markdown online com prévia](https://markdownviewer.org/pt) — Abra arquivos .md em um visualizador de Markdown online grátis. Edite com prévia no estilo GitHub, use Mermaid e KaTeX e exporte para PDF ou HTML sem cadastro.
- [Markdown para PDF online grátis e sem marca d’água](https://markdownviewer.org/pt/md-to-pdf) — Converta arquivos MD em PDF no navegador, sem marca d’água nem cadastro. Confira a prévia de impressão e ajuste o tamanho do papel e as margens antes de baixar.
- [Converter PDF em Markdown online grátis com OCR](https://markdownviewer.org/pt/pdf-to-markdown) — Converta PDF em Markdown grátis e baixe um arquivo .md editável. Extraia texto de PDFs digitais ou use OCR local para digitalizações, sem criar conta.
- [Converter texto em Markdown online grátis](https://markdownviewer.org/pt/text-to-markdown) — Converta texto do Word, Google Docs ou notas sem formatação em Markdown. Preserve títulos, listas e tabelas e copie o resultado ou baixe o arquivo .md.

## Français

- [Visionneuse Markdown en ligne — Aperçu en direct](https://markdownviewer.org/fr) — Ouvrez et modifiez vos fichiers Markdown avec un aperçu en direct. La visionneuse gratuite gère LaTeX, Mermaid et l’export PDF dans votre navigateur.
- [Convertisseur Markdown vers PDF gratuit en ligne](https://markdownviewer.org/fr/md-to-pdf) — Convertissez vos fichiers Markdown en PDF gratuitement. Ajustez les polices et les marges dans l’aperçu en direct, puis exportez sans filigrane.
- [Convertisseur PDF vers Markdown gratuit avec OCR](https://markdownviewer.org/fr/pdf-to-markdown) — Convertissez un PDF ou un scan en Markdown modifiable grâce à l’OCR. L’outil est gratuit et traite vos documents dans votre navigateur.
- [Convertisseur de texte en Markdown gratuit](https://markdownviewer.org/fr/text-to-markdown) — Collez du texte brut ou enrichi depuis Word, Google Docs ou le web. Convertissez-le gratuitement en Markdown avec titres, listes et tableaux.

## Deutsch

- [Markdown Viewer Online — Kostenloser MD Reader & Live-Vorschau](https://markdownviewer.org/de) — Markdown kostenlos ansehen und bearbeiten. Mit Live-Vorschau, LaTeX, Mermaid und PDF-Export. Ihre Dateien bleiben im Browser.
- [MD zu PDF Konverter — Kostenloses Online-Tool für Markdown zu PDF](https://markdownviewer.org/de/md-to-pdf) — Markdown kostenlos in PDF umwandeln. Schrift, Papierformat und Ränder in der Live-Vorschau anpassen und das PDF ohne Wasserzeichen exportieren.
- [PDF zu Markdown Konverter — Kostenlos, privat und direkt im Browser](https://markdownviewer.org/de/pdf-to-markdown) — PDF online in Markdown umwandeln mit pdf.js und lokalem Tesseract.js OCR. Sauberes, editierbares .md aus Dateien oder URLs — kostenlos, sicher und schnell.
- [Text zu Markdown Konverter — Text einfügen, Markdown erhalten](https://markdownviewer.org/de/text-to-markdown) — Text aus Word, Google Docs oder Webseiten kostenlos in Markdown umwandeln. Überschriften, Listen und Tabellen bleiben erhalten.

## Blog

- [Markdown vs LaTeX: when to use each, and how to move between them](https://markdownviewer.org/blog/markdown-vs-latex) — Markdown vs LaTeX compared on the same document: syntax, math, tables, citations and output, plus when to draft in Markdown and typeset in LaTeX.
- [Markdown to Beamer: LaTeX slides from the outline you already have](https://markdownviewer.org/blog/markdown-to-beamer-slides) — Turn Markdown into Beamer slides: how headings become frames, title pages from YAML, code and math on slides, themes, and the matching Pandoc command.
- [ChatGPT to LaTeX: turning an AI answer into a .tex file that compiles](https://markdownviewer.org/blog/chatgpt-markdown-to-latex) — Convert a ChatGPT answer to LaTeX without retyping: why pasting into Overleaf fails, how \( \) math is kept, and how to drop the result into your paper.
- [How Image to Markdown works with local Tesseract OCR](https://markdownviewer.org/blog/image-to-markdown-ocr-in-the-browser) — How the Image to Markdown page uses local Tesseract OCR and word-box geometry to rebuild headings, lists and tables without uploading your image.
- [ChatGPT to Word: turning AI Markdown into a document you can hand over](https://markdownviewer.org/blog/chatgpt-markdown-to-word) — ChatGPT Markdown to Word: the five-minute pass over an AI answer, what survives as Word headings, tables and equations, and the settings that shape the DOCX.
- [Word to Markdown reads styles, not looks — and tells you what it dropped](https://markdownviewer.org/blog/word-styles-to-markdown) — Word to Markdown reads style names, not font sizes — why that gets headings, quotes and code right, and what the conversion notices tell you it dropped.
- [Clean mode: turning a webpage into Markdown an LLM can actually use](https://markdownviewer.org/blog/html-to-markdown-for-llms) — HTML to Markdown for LLM and RAG pipelines: the layers that strip nav bars, cookie banners and footer sitemaps, and what clean mode keeps on purpose.
- [Hand-drawn Mermaid diagrams: sketch-style flowcharts from plain text](https://markdownviewer.org/blog/hand-drawn-mermaid-diagrams) — Create hand-drawn Mermaid diagrams from plain text. Compare sketch and classic styles, customize fonts and colors, and export PNG, SVG, or .mmd.
- [Markdown + mindmap: visualize your Markdown outline with Markmap](https://markdownviewer.org/blog/markdown-to-mind-map) — Visualize any Markdown outline as an interactive mind map with Markmap. Collapse branches, search nodes, and export SVG, PNG, or standalone HTML.
- [Markdown page breaks and the print layout that makes them work](https://markdownviewer.org/blog/markdown-page-breaks-and-print-layout) — Add reliable page breaks to Markdown with one line of HTML, then fine-tune print layout with paper size, margins, fonts, colors, and previews.
- [PDF to Markdown: How Browser Conversion Actually Works](https://markdownviewer.org/blog/pdf-to-markdown-explained) — Learn how PDF to Markdown conversion tries complete pdf.js text extraction first, then uses automatic in-browser OCR only as a fallback for scanned PDFs.
- [Style your Markdown preview: themes, Google Fonts, and custom CSS](https://markdownviewer.org/blog/style-markdown-preview) — Style your Markdown preview with 9 built-in themes, 1,900+ Google Fonts, code block themes, and a live custom CSS editor that imports your blog’s stylesheet.
- [How private share links work — no uploads, no document database](https://markdownviewer.org/blog/how-private-share-links-work) — A plain-English, inspectable tour of how Markdown Viewer compresses a document into a URL and reconstructs it entirely in the recipient’s browser.

## Usage Notes for Agents

- The homepage supports markdown content negotiation: send `Accept: text/markdown` to receive this document as `text/markdown`.
- The homepage advertises this resource via a `Link` response header with `rel="service-doc"`.
- Public pages are listed in `/sitemap.xml`; crawler access is declared in `/robots.txt`.

## Contact

- Website: https://markdownviewer.org
