Academy

flatnotes review: self-hosted Markdown notes

A closed notebook and pencil on a wooden desk beside a laptop facing away.

flatnotes is a free open-source app for self-hosted markdown notes.14 It is a simple browser notebook whose files stay on a computer you control. Each note is a Markdown file in one folder, with no database behind it.1 Markdown is plain text with small marks for headings and lists.

Last checked October 28, 2026.

At a glance

  • What it is: A self-hosted notes app that stores Markdown files in one folder, with search and tags.1
  • Works on: A web browser, including on a phone.1 Docker is the recommended install, with images for Linux on amd64 and arm64.18
  • Price: Free of charge under the MIT licence.4 The project also points to PikaPods if you want a company to run it for you.1
  • Licence: MIT.4
  • Best for: A personal notebook on a server you control.
  • Official site: github.com/dullage/flatnotes

What flatnotes does (and how it protects your privacy)

flatnotes is a note-taking website you run yourself. The screen stays simple: no folders or notebooks, and a full-text search you can open from anywhere with the / key.1 Tags and links between notes are how the pages connect, and search is how you find them again.12

The privacy benefit is where the files live. Your notes are just Markdown files, with no database and no proprietary formatting, so you can move the folder to another app.1 A .flatnotes folder holds a search index, and the app can rebuild it.2 You can change the Markdown files from outside flatnotes while it is running.1 Anyone who can open that folder can read the notes, because they are ordinary files.1

Key features of flatnotes

  • Plain files, one folder. New notes are saved as .md files, and only files with that extension show up.2
  • Search from anywhere. Press / to search your notes. The wiki also includes advanced search.12
  • Tags as hashtags. A tag such as #work can be searched on its own.2
  • Links between notes. Writing [[My Note]] links to a note of that name.2
  • Two ways to edit. Use raw Markdown or a visual editor.1
  • A simple home screen. Light and dark themes are included.1 The home list defaults to recently modified notes, and you can point it at a tag such as #pinned.3
  • A login you can tighten. Leave the site open, make it read-only, require a password, or add a one-time code as well.2
  • Pictures in the note. Insert, drop, or paste an image. It is stored in an attachments folder inside your data folder.7

Pros and cons

Pros

  • Notes stay as ordinary Markdown, so you can leave for another app by copying the folder.1
  • Password login is the default, and you can add a one-time code.23
  • The MIT licence grants use of the software free of charge, and the source is public.46
  • Version 5.5.5 came out on 29 August 2026, and the repository is not archived.56
  • The page is built to work on a phone screen as well as a computer.1

Cons

  • You run it yourself. Docker is the recommended way, or you can use the hosted option on PikaPods.1
  • There are no folders or notebooks. Search and tagging are the organisation the project includes.1
  • Password mode uses a username and password that you set in the server configuration.3
  • Pictures are not removed when you delete the note, and the app has no screen for viewing or deleting the attachments folder.7
  • The author wants to keep the app simple, which means limiting new features.1

Is flatnotes safe and private?

Notes are Markdown files in a folder you choose, plus a search index in .flatnotes.2 Docker uses /data inside the container for that folder.3 Adam Dullage holds the 2021 copyright and publishes the code under the MIT licence.4

Who can open the site depends on a setting you choose before you start it. The wiki lists four choices. With none, anyone who can reach the address can use the site. Read-only is also open to anyone who can reach the address, but creating, editing, and deleting are switched off. The project suggests that for a blog or for documentation. Password asks for a username and password. TOTP adds a one-time code from an authenticator app on top of that password.2 If you do not set a choice, the app defaults to password.3

Password and TOTP modes also need a secret key, which the app uses to create access tokens. Changing that key invalidates existing tokens. The docs suggest a password generator for a random 32-character string.3 A login lasts 30 days unless you change that number.3 With TOTP, a QR code is printed at startup. In Docker it appears in the container logs, and you can type the secret in by hand.3

Version 5.5.5 was published on 29 August 2026.5 The repository is public and is not archived. Its last code push was the same day.6 The 5.5.5 Docker image is published for linux/amd64 and linux/arm64.8 Saved images live in an attachments folder. Each file can be opened at an /attachments/ address that includes the file name.7 The project also links PikaPods as a host.1

How to get started with flatnotes

  1. Open the project on GitHub. Docker is the recommended install, using the dullage/flatnotes image.18 The linked demo resets every 15 minutes.1
  2. Create a folder for the notes and mount it at /data, the notes path inside the Docker image.13
  3. Choose password or totp. Set your own username, password, and secret key, and replace the sample password in the example. A password generator can make the 32-character secret the docs suggest.13
  4. Start dullage/flatnotes:latest and publish port 8080, the port the image uses unless you change it.13
  5. Open that address in a browser, sign in, and write a note. Add a hashtag for a tag, or link another note with double square brackets.2
  6. For a one-time code, set totp and a TOTP key, then scan the QR code from the container logs.3 Proton Authenticator is a standalone app for sign-in codes.
  7. Copy the notes folder somewhere safe. The Markdown files are the notes. With the app stopped, deleting .flatnotes only removes the search index, which is rebuilt on the next start.2

Who should use flatnotes (and who might prefer something else)

flatnotes fits someone who wants one quiet notebook in a browser, with the files on a machine they control. It suits people who write in Markdown, find notes by searching, and are happy to run Docker or to use a host such as PikaPods.

If you want a notebook built as a clear hierarchy of pages, Trilium Notes is aimed at that kind of structure. If you want encrypted notes across devices, Notesnook is the closer guide to read next. If you want another small self-hosted notebook, Memos is written up separately.

Frequently asked questions

Is flatnotes free?

Yes. The MIT licence grants use free of charge, including the right to copy, modify, and distribute the software.4 You still provide the computer, or you use a host such as PikaPods, which the project links as a setup option.1

Is flatnotes safe?

Password login is the default, and you can add a one-time code.3 With authentication off, anyone who can open the address can use the site, so use that setting on a network you trust.2 The notes are ordinary Markdown files, so protect the folder as well as the login.1

Does flatnotes work on iPhone?

You use it in the phone’s browser. The project describes a mobile-responsive web interface, so the page is meant to fit a small screen.1 Open your server’s address and sign in there.

Can flatnotes organise notes in folders?

No. It leaves out folders and notebooks on purpose.1 Tags, search, and links between notes are how you find a page again.2 You can still copy the Markdown folder to another app.1

Sources

  1. GitHub: flatnotes README
  2. GitHub: flatnotes wiki
  3. GitHub: flatnotes environment variables
  4. GitHub: flatnotes MIT licence
  5. GitHub: flatnotes release v5.5.5
  6. GitHub: flatnotes repository record
  7. GitHub: flatnotes image support
  8. Docker Hub: dullage/flatnotes tags

BellCrier breach check

Is your email already in a data breach?

Most people are, and never hear about it. BellCrier checks your email against known data breaches for free, then alerts you when it turns up in a new one, with exactly what leaked and how to fix it.

  • Free instant check
  • No password needed
  • Alerts for you and your family

Opens bellcrier.com with your email filled in. Nothing is checked until you confirm there.