Introduction
An .org file is a document for Org mode,
the outliner and organiser for the GNU Emacs editor, started by Carsten Dominik in 2003.
People use it for notes, to-do lists, agendas, project plans and whole books, and it can
run code blocks inside the document and export to HTML, LaTeX, PDF and other formats.
The file itself is plain text that stays readable without Emacs.
Structure
An Org file is plain text, normally UTF-8. The syntax is set out on three pages:
headings, drawers and settings,
blocks, lists and tables, and
inline objects and timestamps.
Headlines start with one or more
asterisks, one per level, and may carry a TODO keyword, a priority such as
[#A] and tags between colons. Lines such as #+TITLE: set
document settings, SCHEDULED: and DEADLINE: lines give dates
in angle brackets, and property drawers between :PROPERTIES: and
:END: store key and value pairs. Tables are rows between vertical bars,
and blocks such as source code sit between #+BEGIN_SRC and
#+END_SRC. Inline, *bold*, /italic/ and
[[link][description]] mark text.
#+TITLE: House move
* TODO Book the van :errands:
DEADLINE: <2026-11-20 Fri>
* DONE Pack the *books*
* Costs
| Item | Price |
|-------+-------|
| Van | 120 |
| Boxes | 35 |
Not described
The pages follow the Org Syntax document and the Org manual. The manual’s long option lists are only partly reproduced.
Known, not yet covered
- Reference: the full
#+OPTIONSkey list and the#+STARTUPvalues, see settings. - Reference: all Babel header arguments and the table formula
(
#+TBLFM) syntax in full, see elements. - Reference: the
org-entitiestable of several hundred entity names. - Viewer: the file opens as plain text; headings, drawers and blocks are not interpreted.
Links
Software
- GNU Emacs – extensible text editor that includes Org mode (Windows, macOS, Linux)
- Org mode – the Emacs outliner and organiser that defines the format (Emacs)
- Pandoc – command-line converter that reads and writes Org (Windows, macOS, Linux)
- GitHub – code hosting site that shows .org files as formatted pages (web browsers)
Reference
- The Org Manual – the full manual of Org mode and its syntax
- Org Syntax – the formal description of the syntax that Org’s parser follows