Ord - Outline and Relational Data
A simple and powerful markup language for note-taking and structured information.
Ord is a plain-text outline format. One line is one node, indentation makes the tree, and key:: value fields make the outline structured data.
Launch website +project
[x] Write the intro page with [[Anna]] #docs [due:: 2026-10-20] +task
[-] Pick a domain #urgent +task
Ask Johan about the DNS
budget:: 1200
- Readable anywhereAny text editor opens it. Tools add power but are never needed to read a file.
- No lock-inYour notes are plain files you own, not rows in someone else's database.
- LLM friendlyOutlines,
key:: value,[[links]]and checkboxes: close to what models already write.
Design goals
- Humans and LLMs in the same files. People and models take notes in the same plain files, with no MCP server or API in between. The format is close to what models already write, so plain file access is enough.
- Notes that become data. Outlined notes become queryable, tabular and computable without losing the note-taking format.
- Plain text first. A file is readable and editable in any editor. Tools add power but are never needed to read it.
- Files are dumb, the index is smart. Structure lives in the text; tools derive a graph from it.
- Everything is a field. Label, type, ID, state, tags and references are all fields, most with a one-symbol shorthand.
- Value forms are inferred, never declared. A value that looks like a date is a date. Only intent is declared: field names, formulas and settings.
- Computed values stay virtual. Editors show results; they're never written into the file, except a one-time formula,
~(…), written once as its value. - Light syntax. Single symbols and rules that let prose stay prose, instead of heavy delimiters.
Why a text-based outliner
- It's just text. Readable and editable in any editor.
- Every file reads. There are no syntax errors. Anything doubtful is a warning, never a broken file.
- Prose stays prose.
Note: remember thisis text. Only::makes a field. - Punctuation decides.
::,;, quotes and indentation, never words or letter case. - Stable edits. An edit touches only its lines, and formatting twice changes nothing.
- Still a list on GitHub. List markers (
-,*,+,#,1.) are decoration. - Works with grep, git, scripts and LLMs. Lines read on their own; no context is needed to understand one, except inside a block.
Lines and the tree
One line is one node. A child is indented deeper than its parent; use tabs or spaces, one of them per file. List markers at the start of a line are optional decoration. There are no headings: a node with children is a section. # Heading is a node with the label Heading; the # is a list marker, which editors may draw as a heading.
Project Apollo
Plan the launch
Book the venue
Send invitations
Budget
Fields
A field line is key:: value. It belongs to the node above it. Any key works, spaces included: Project lead:: Anna.
Invoice Acme +invoice
period:: 2026-Q3
rate:: 1200
Project lead:: Anna
contact::
email:: anna@example.com
- On a node line a field goes in brackets:
[due:: 2026-10-10]is an inline field. It means the same as a field line under the node; both on one node merge. ;separates values:tags:: red; blue.- Fields can nest: field lines under an empty field, as with
contact::above.
The node line and its marks
Take this line apart:
[x] Send draft to [[Anna]] #urgent [due:: 2026-10-10] +task ^t9x1
State done, label Send draft to [[Anna]] #urgent, field due, type task, tag urgent, ID t9x1.
| Mark | Meaning | Same as |
|---|---|---|
[ ] [-] [?] [x] | state: new, in progress, waiting, done | [_state:: done] |
+task | type | [_types:: task] |
#urgent, #project/apollo | tag, stays in the label | [_tags:: urgent] |
^t9x1 | ID | [_id:: t9x1] |
[[Label]], [[t9x1]] | link to another node | |
https://…, ./file.pdf, [text](url) | link out to a URL or file | |
=( … ) | a computed value | |
~( … ) | a formula written once, as its value | |
@ Label | a mirror: shows that node here | [_mirror:: Label] |
? +task [ ] | a search, the only way to write one | the type search |
- Marks are shorthand for system fields, whose keys start with
_. What's left is the label; tags and links stay where they are written. - Write marks anywhere; the formatter puts inline fields, types and the ID in a fixed order after the label.
- Prose is safe:
C++,C#,+46,#5and@annaare not marks, and# Headingis a list marker.
Value forms
A field value that is exactly one of these forms reads as that type. Labels are never read this way.
| Form | Examples | Stays text |
|---|---|---|
| number | 1200, -12, 9.5, 1e3 | 007, +46, .5 |
| boolean | true, False | yes, no |
| date | 2026-10-15 | 2026-02-30 (with a warning) |
| datetime | 2026-10-15T14:30 | 2026-10-15T24:00 |
| week | 2026-W42 | 2026-W54 |
| month | 2026-10 | 2026-13 |
Quote a value to keep it text: "2026-10-15".
Turning syntax off
"…"quotes a whole key, label or value.- Backticks keep a word or phrase literal and stay in the text, as code does in Markdown:
`std::vector`. To quote a whole value, use". - A backslash makes a single mark text:
\#tag,\[[x]],\=. - Three backticks on their own line open a raw block, as in Markdown.
Compared with the alternatives
- App outliners (Tana, Logseq): the same ideas, but the files are yours.
- Markdown: renders as a list too, but Ord adds fields and marks you can query.
- Heavy formats: no braces or brackets to balance.
Next steps
- Ord in brief — the syntax on one page, with right and wrong examples.
- Full reference — the brief plus Parts 1 and 2 of the specification.
- Specification — the normative spec, version 0.7.0-draft, with its tests and companion specs. Source on GitHub.
- llms.txt — the same docs as plain text, for LLMs.