Flat / Markdown hosting
Markdown hosting: share an MD source file online
Give your Markdown source a link. Publish a .md file from your browser or the CLI for source reading, copying, and original downloads.
Checking your upload limits... · Public · Limits
Drop your Markdown files here
or choose them from your device.
Select Markdown filesWhat readers see at your Markdown link
Flat shows syntax-highlighted Markdown source. Headings, lists, links, and image references remain visible as text. The screenshot shows the actual source viewer, not a rendered Markdown article.
Readers can wrap lines and copy the displayed source. Flat does not resolve Markdown images or turn links into article navigation. The original MD download preserves the file for a reader's editor or publishing tool.
A single file opens in the viewer. Several files open in the explorer, where readers can choose a file. Public links need no Flat account. Original downloads remain available if a preview cannot load.
The main link opens Flat's viewer. The exact path /handoff.md serves the original file, without changing its contents.
How to upload Markdown files and get a link
Prepare your file
Save the source as a UTF-8
.mdfile. Include the source assets in a folder if a recipient needs to build the document, and use the CLI to preserve those relative paths.Need a styled reading page? Render the Markdown to HTML in your own tool, then publish the finished output with HTML hosting. Uploading Markdown alone does not run a site generator.
Publish from your browser or terminal
In your browserGo to uploaderDrop, publish, copy the link.
Drop your finished files into the uploader above, or select them from your device. Enter your email if signed out, then choose "Publish files".
Selected files need unique names and publish at the top level. Use the CLI for folders; the browser uploader does not accept folders or extract ZIPs.
TerminalNode.js 20+One command. Files or folders.
npx -y @getflat/cli deploy ./handoff.mdReplace the example path with your file. Pass a folder to publish related files with their relative paths intact. The CLI prints the published URL.
Check before sharing
Check heading syntax, fenced code blocks, and relative paths in the source view. If you need an article-style page, review the exported HTML instead before sharing.
Signed-out uploads expire after 1 hour by default. Sign in before expiry to keep them online, or sign in before publishing for no default expiry.
What you can share with Markdown hosting
README handoffs
Give a recipient the exact Markdown instructions and any source assets they need for an existing project.
Documentation drafts
Share a particular source revision for someone to read or download into their own editor. Collect feedback in your existing review workflow.
Keep a version, or keep an address.
Share this version
Every upload gets its own link. Publishing revised files creates a new link and leaves the earlier version unchanged. Use the version link when someone needs to review a specific upload.
Update files at one address
Use a named onflat.page address or your own domain. Sign in, then publish with the CLI using --domain. Publish revised files with the same domain to point that address to the new upload.
Named addresses are included on Free. Adding your own domain requires a paid plan. The browser uploader does not set up or repoint these addresses.
Markdown hosting questions
Is hosting free, and what are the limits?
Yes. Signed-in Free includes 5 MiB per upload, 1 GiB of storage, and 5 GiB of monthly transfer, with no default expiry. The per-upload limit covers all files in that upload. Paid plans raise these limits.
Do readers need a Flat account?
No. Public links open without a Flat account. Anyone with the link can open the uploaded files. Password-protected links also require the visitor password.
Can I password-protect my upload?
Yes. Password protection is available on every plan. Add --password YOUR_PASSWORD to your CLI deploy command. It protects access to the upload and its files, but does not prevent someone with access from saving a copy. The browser uploader creates public uploads.
Can I replace files without changing the link?
A version link always refers to its original upload. For same-address updates, use a named address or your own domain. Publish revised files with the same --domain value in the CLI to point that address to the new upload.
What happens when an upload expires?
Flat stops serving it. An expired upload cannot be recovered. Signed-out uploads expire after 1 hour by default. For browser uploads, use the sign-in link shown after publishing. For CLI uploads, run npx -y @getflat/cli login. Complete sign-in before expiry to keep the upload online. If you chose a shorter expiry in the CLI, that deadline stays in place.
Does Flat render Markdown into a web page?
The file viewer shows highlighted source, not a rich Markdown page. Export HTML with your Markdown tool and publish that output if readers need rendered headings, tables, images, and links.
Which filename extension should I use?
Use .md for Flat's Markdown source viewer. The hosting guide uses the word Markdown, but the actual viewer selects its syntax highlighting from the file extension.
Can I publish a folder with Markdown and images?
Yes, through the CLI. It preserves relative file paths and the explorer lists the files. The Markdown viewer still shows source; it does not render those image references into the document.
How large can an upload be?
Upload allowances depend on your plan and cover all files in the upload. Compare current plan limits. Preview availability also depends on format and processing support. The original file remains available to download if a preview is unavailable.
Can I embed the viewer on another website?
Flat's generated viewer cannot be embedded in an iframe and keeps Flat branding on every plan. Link to the viewer for reading or to the exact file URL for the original.
Another text format?
Find the guide for your text file.
Give your Markdown files a link.
Publish your file, check the preview, and share the URL.
Publish filesFree to start · View pricing
