FLXCode Markdown Editor

FLXCode apps

Appearance

Markdown Editor

Edit the Markdown or the rich text next to it, and the other side follows. Paste from Word or Google Docs to get Markdown. The draft saves in your browser as you type, and nothing is uploaded.

Rich text

0 words

Type in either pane and the other one follows. Your text stays in this page. The draft is saved in this browser as you type, nowhere else. Pictures with a web address are not loaded in the rich pane, because loading one would tell that server you opened this page. They show as a note with their address, and load in the downloaded .html.

Ready.

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.

Problem or idea? Email us

How to use it

  1. Type or paste Markdown on the left, or type in the Rich text pane on the right (the Markdown and Rich text tabs on a phone). Whichever you edit, the other one follows a moment later. The first time, a short sample is there. Press Clear to start empty.
  2. To turn rich text into Markdown, copy it in Word, Google Docs or a web page and paste it into the Rich text pane. Colours, fonts and sizes are dropped. Headings, bold, italic, links, lists, tables and code stay.
  3. Use the toolbar or the keys: Ctrl+B or Cmd+B for bold, Ctrl+I or Cmd+I for italic, Ctrl+K or Cmd+K for a link. The toolbar works on the pane you last clicked in. Pressing a button again takes the formatting off. Ctrl+Z and Ctrl+Shift+Z undo and redo in both panes, with one shared history.
  4. To edit a file you already have, press Open file or drop a .md or .txt file on the editor.
  5. Press Full screen to give the editor the whole screen, with both panes side by side on a wide screen. Press the button again or Escape to leave. Your text and cursor stay where they were.
  6. Save with .md for the Markdown or .html for a finished page. Copy HTML gives the code, Rich text pastes into a document or an email with its formatting.

What it understands

  • Headings with # or with a line of = or - under the text, bold, italic, links, images, quotes, lists, code spans and code blocks, as in CommonMark.
  • Tables with : in the divider row for alignment, task lists with [ ] and [x], ~~strikethrough~~, plain web addresses that become links, and footnotes with [^1].
  • Code blocks with a language after the three backticks get colours for JavaScript, TypeScript, JSON, Python, Bash, HTML and XML, CSS, SQL, YAML, diff and the C family (C, C++, C#, Java, Go, Rust, PHP). The colours come from a small script on this page, with no download.
  • Headings get anchors the way GitHub makes them, so [link](#my-heading) works in the rich pane and in the .html file.

What happens to your text

The text never leaves the page. It is turned into HTML, and rich text back into Markdown, by a script that runs here. The result goes through two checks before it is shown, and again after every edit in the rich pane: the renderer only writes tags and links from a short list, and the page removes anything else it finds. The one thing saved is the draft, in this browser's local storage, so a reload or a crash does not lose your work. Nothing else is stored.

We count events without cookies, like "saved as .md" (details). Your text, file names and sizes are never part of them. You can check it: load the page, turn off Wi-Fi, and write. It still works.

Limits

  • Files up to 2 MB. Very long documents, over about 200,000 characters, update the rich pane a little later.
  • No Mermaid, no maths, no emoji codes, no front matter, no spell check beyond what your browser does.
  • Editing the rich pane rewrites the Markdown in a standard form, so unusual styles (such as * bullets or setext headings) become - and # when you change something there. Footnotes can be edited in the rich pane but not added there. Underline and colours do not exist in Markdown and are dropped.
  • Pasting plain text into the rich pane makes paragraphs. Pasting into the Markdown pane always stays plain text.
  • The reading time uses 200 words a minute. Change the number in your head for slow or fast readers.
  • The draft is on this device only. There is no account and no sync.
  • Task list boxes in the rich pane are clickable. Each click rewrites the box in the Markdown.
  • Code colours are a guide, not a parser. A rare construct can be coloured wrong.

Specifications

The syntax follows the CommonMark specification, version 0.31.2 and the GitHub Flavored Markdown specification for tables, task lists, strikethrough and autolinks. For counting words in your text, see the Word Counter, and to change the case of a heading, the Case Converter.

FAQ

Where does my text go?

Nowhere. The page turns your Markdown into rich text, and your rich text into Markdown, on your own device. The draft is kept in this browser's local storage so it is there when you come back, and Clear empties it. Anyone who uses the same browser profile can see it, so do not leave private notes in a shared browser.

Which Markdown does it understand?

CommonMark (headings, emphasis, lists, quotes, code, links, images) plus the GitHub Flavored Markdown extras: tables, task lists, strikethrough and autolinks. It also draws footnotes, which GitHub renders too but the GFM spec does not list. It does not do Mermaid diagrams, maths, emoji codes like :smile:, front matter or definition lists.

Can I turn rich text into Markdown?

Yes. Paste from Word, Google Docs or a web page into the Rich text pane and the Markdown pane shows the result. The page keeps the structure (headings, bold, italic, links, lists, tables, code) and drops colours, fonts, sizes and classes. Typing in the rich pane works the same way, and so do the toolbar and Ctrl+B, Ctrl+I and Ctrl+K.

What happens to my Markdown when I edit the rich text?

The Markdown is written again in a tidy standard form: - for bullets, ** for bold, blank lines between blocks. If an edit changes nothing in the result, your own wording and style are left alone. The other direction never touches the rich pane while you type in it, so the cursor stays where it is.

Why does a picture not show?

The rich pane never loads pictures from a web address. Loading one asks that server for the file, and the server then sees your address. You get a note with the description and the address instead. Pictures written into the text as a data: address always show. Pictures in the downloaded .html load normally.

Will it look the same on GitHub?

For normal README content, yes. It is our own renderer, checked against examples from the CommonMark spec, so odd cases can differ: unusual list indentation, reference links defined inside lists or quotes, and mixed HTML. Check an important file on GitHub before you publish it.

More from FLXCode

  • Word CounterCount words, characters, sentences and paragraphs as you type. Reading and speaking time with speeds you can change.
  • Case ConverterChange text to sentence case, Title Case, UPPERCASE, camelCase, snake_case and more. Copy any result.
  • JSON FormatterFormat, minify, sort and check JSON in your browser. Big numbers stay exact and errors show line and column.
  • Password GeneratorMake a random password or passphrase in your browser. See the entropy and its formula. Nothing is sent.

Share Markdown Editor