Skip to content

Markdown editor with live preview

Write in Markdown and see the formatted result as you type: headings, lists, task lists, tables, links, images and code blocks. Arabic paragraphs read right to left beside English ones, the preview never runs scripts or raw HTML, and you can export a .md file or a complete .html page. Your draft is kept in this browser only, so you can close the tab and continue later.

Quick answer

Type or paste Markdown on the left and the formatted page appears on the right. Use the toolbar for bold, headings, links, lists and tables, then download the text as .md or a ready-to-open .html file, or copy the HTML.

Based on CommonMark Spec, version 0.31.2 · Page updated 23 October 2026

Editor: Abuzar, founder of NeedMyToolsHow we check facts

94 words · 649 characters · 28 lines · about 1 min to read

Preview

Project notes

Write Markdown on the left and see the result on the right. Italic, strikethrough and inline code work too.

Checklist

  • Draft the outline
  • Review with the team
  • Publish

Prices

PlanMonthlyNotes
Basic0 AEDFree
Team49 AEDUp to 5 people

A quote stands out from the text around it.

ملاحظة بالعربية

كل فقرة تأخذ اتجاهها تلقائيًا، فهذه الفقرة تُقرأ من اليمين إلى اليسار بجانب النص الإنجليزي.

const total = items.reduce((sum, x) => sum + x.price, 0);

Count words with the word counter.

Your text stays in this browser. The draft is kept in this browser’s storage only, and the preview never runs scripts or raw HTML.

How to use the Markdown Editor

  1. Type or paste Markdown into the editor, or open a .md file from your device. Use the toolbar to add formatting without remembering the syntax.
  2. Check the preview. Leave Text direction on Automatic for mixed Arabic and English, or force right to left for an all-Arabic document.
  3. Download the .md file or the .html page, or copy the HTML to paste into a website or email tool.

What Markdown is

Markdown is a way of formatting plain text with a few symbols: # for headings, asterisks for bold and italic, hyphens for list items and square brackets for links. It was introduced on Daring Fireball as a text-to-HTML tool, with version 1.0.1 released in December 2004, and the CommonMark specification later set out precise rules so different programs give the same result. It is used for README files, project documentation, notes apps, chat messages and many website builders. Because the source is plain text, a Markdown file stays readable in any editor and works well with version control.

The syntax this editor supports

Headings from # to ######, or a line underlined with = or -. **Bold**, *italic*, ~~strikethrough~~ and `inline code`. Bulleted lists with -, * or +, numbered lists, nested lists indented under an item, and task lists written - [ ] and - [x]. Block quotes start with >. Fenced code blocks between ``` lines keep their spacing and can name a language. Tables use | between cells and a line of hyphens under the header, where a colon sets left, centre or right alignment. Links are written [text](address), images ![description](address), and plain web addresses become links on their own. A line ending in two spaces or a backslash makes a line break, and three hyphens make a horizontal rule. Every heading gets an id, so you can link to sections within the page.

Arabic and right-to-left documents

Each paragraph, heading, list item and table cell in the preview takes its direction from its own first strong letter, so an Arabic paragraph is aligned to the right and an English one to the left in the same document, while code blocks always stay left to right. Choose Right to left to set the whole document and the editor to RTL, which keeps lists and quotes on the right side. The exported .html page gets lang="ar" and dir="rtl" when most of the text is Arabic, so browsers and screen readers handle it correctly. Underscores inside words are not treated as italic, so names such as file_name stay intact, and asterisks work for emphasis in Arabic as in English. To check spelling and length, the word counter counts Arabic words correctly.

Safe preview and clean HTML

Markdown allows raw HTML, which is a risk when you preview text from someone else. This editor does not render it: HTML tags in the source are shown as text, every character is escaped, and only the tags the converter itself writes reach the page. Links are kept only when they point to http, https, mailto, tel or a relative address; javascript: and data: links are removed. Links carry rel="nofollow noopener". Images given as web addresses are loaded from their own site when the preview shows them, without sending this page’s address, so that site sees a normal image request but never your text. The HTML you copy or download is the same clean output.

Export, drafts and printing

Download .md saves exactly what you wrote. Download .html saves a complete page with simple, readable styles that opens in any browser, and from there your browser’s Print command can save it as a PDF. Copy HTML puts the converted body on the clipboard for a content management system or a newsletter tool. While you type, the draft is saved in this browser’s local storage on this device only; it is never uploaded, and clearing the site data removes it. For a quick PDF of plain text, use text to PDF, and to keep several notes use the online notepad.

Frequently asked questions

Can I write Arabic in this Markdown editor?

Yes. Each Arabic paragraph, heading and list item is shown right to left automatically, even next to English text, and you can set the whole document to right to left. The exported HTML is marked as Arabic and RTL.

Does the preview run HTML or scripts that I paste?

No. Raw HTML is shown as plain text, scripts never run, and unsafe links such as javascript: are removed, so you can preview Markdown from any source safely.

How do I make a table in Markdown?

Write the header cells separated by |, then a line such as | --- | --- |, then one line per row. Add a colon to the hyphens to align a column, for example ---: for right alignment. The Table button inserts a starter table.

Where is my Markdown draft saved?

Only in this browser’s local storage on this device. It is never uploaded. Download the .md file to keep a copy, because clearing the browser’s site data deletes the draft.

How do I turn Markdown into a PDF?

Download the .html file, open it in your browser and use Print, then choose Save as PDF. The page uses simple readable styles, and Arabic documents keep their right-to-left layout.