The todo.txt format¶
Extensions of the todo.txt format¶
The todo.txt format defines the completion mark x, the priority (A), dates, +project, @context and tags of the form key:value.
The application understands the following extensions.
The column Source names the tool or document that defines each of them; those of this application are tags that other todo.txt tools keep as they are.
| Notation | Meaning | Source | How to use it |
|---|---|---|---|
due:2026-12-24 |
Due date | todo.txt format, which names it as the example of a tag | Due date in the edit dialog. The label is highlighted on the day and marked when the date has passed; the list orders tasks of equal priority by due date. |
t:2026-12-01 |
Start date, which Simpletask calls the threshold date: the task is not relevant before that day | Simpletask | Start date in the edit dialog. The task is hidden until that day; Show tasks before their start date in the filter panel shows it. |
rec:1w |
Recurrence: completing the task adds its next occurrence | topydo, with the business days of Simpletask | See recurring tasks. |
ice_recur.txt |
Schedules that add tasks on certain days | ice_recur, an add-on of the todo.txt command line | See recurring tasks. |
note:k3f.md |
A note for the task, kept in the file notes/k3f.md |
note, an add-on of the todo.txt command line | Note in the edit dialog; the application names the file. New notes are Markdown files, which the dialog edits as text; a note named otherwise, such as note:k3f.txt, keeps its file. As in the note add-on, which reads these notes with TODO_NOTE_EXT=.md in its configuration. |
#urgent |
Hashtag: a third kind of label next to +project and @context, without a fixed meaning |
This application | Add hashtag in the edit dialog, or typed into the task. A hashtag starts with a letter or a currency sign, as #$$$ does: #123 and C# stay words of the description (decision 0014). |
@research>reading |
A context below another context, over any number of levels | This application | Typed as the context. The label shows @reading, and the path when the pointer rests on it; a click on it shows the tasks of the context. A filter for @research includes the contexts below it, and the filter panel shows the contexts as a tree (decision 0017). |
+papers>survey |
A project below another project, over any number of levels | This application | Typed as the project. The label shows +survey, and the path when the pointer rests on it; a click on it shows the tasks of the project. A filter for +papers includes the projects below it, as do a barrier and a limit of the plan, and the filter panel shows the projects as a tree (decision 0026). |
dur:1h30m |
The time the task is expected to take, in hours and minutes | This application | Field Duration in the edit dialog, or typed into the task. Planning gives the task that much time (decision 0018). |
dueby:14:00 |
The time of the due date by which the task has to be done | This application | Field Due time in the edit dialog, or typed into the task next to due:. Among the tasks of a day, the earlier time comes first, and the icon of the plan is red if the task is planned to end later (decision 0030). |
deadline:2026-11-30 |
The day that others set for the task, next to the day to have it done by | This application | Field Deadline in the edit dialog, or typed into the task; see Deadline next to the due date (decision 0028). |
at:12:00 |
The time of the day at which the task takes place | This application | Field Fixed time in the edit dialog, or typed into the task; at:end for the end of the green times of the time map. Planning gives the task that time and plans the others around it (decision 0021). |
after:15:00 |
The time of the threshold date before which the task is not planned | This application | Written by Postpone in the notification of a block on Android, together with t: of today, or typed into the task. Planning starts the task on its threshold date at that time; on other days the tag has no effect (decision 0058). |
spent:1h30m |
The time that was worked on the task so far | This application | Field Time spent in the edit dialog, the button of a block in the agenda, or typed into the task. Planning gives the task the rest of its duration (decision 0034). |
started:2026-11-19T16:50 |
The start of the clock of the task, while it runs | This application | Start beside a task of today in the agenda or in Today; Stop adds the time since then to spent: and removes the tag (decision 0044). |
tt:30m, tt:1h30m/0 |
The time that the way to the task takes, and the way back as well; with /, the way there and the way back each |
This application | Field Travel time in the edit dialog, or typed into the task. Planning keeps that time free before and after the task (decision 0023). |
map:Evenings |
The time map in which the task is planned | This application | Typed into the task. Planning takes it before the time map of the contexts of the task (decision 0047). |
stars:3 |
The stars that a member of a family gets for completing the task | This application | Typed into the task. The family view adds them up in its ranking; a task without the tag is worth one star (decision 0052). |
doneby:Ben |
The member of a family who completed a task of several members | This application | Written when the task is ticked off in the column of a member of the family view, who gets its stars; reopening the task removes it (decision 0060). |
id:1, p:1 |
The task with id:1 waits for the tasks with p:1, as topydo writes dependencies |
topydo | Chosen in the edit dialog under Waits for and Before, or typed into the task. Planning gives the task its times after those it waits for (decision 0020). |
cs:jabref/fix-npe |
The task of ContextSwitcher that holds the working context | This application | Entered in the field ContextSwitcher task of the edit dialog or typed into the task, as the id or as the link that Copy link of ContextSwitcher gives, which becomes the tag. A click on the label switches to the task in ContextSwitcher, on a computer where it has registered its links (decision 0016). |
ol:AAAAAKGyw9Q |
An item of the To-Do list of the classic Outlook: a flagged mail or a task | This application | Written when an item of Outlook gets a context, a project or another change. A click on the label Outlook opens the item in Outlook (decision 0040). |
pri:A |
The priority a completed task had | todo.txt format | Written when a task with a priority is completed, as the format has no priority for completed tasks; reopening the task restores the priority. |
The option Only the first 10 tasks of the filter panel restricts the list to the first tasks, whose number is a setting, as the add-on top of the todo.txt command line does.
There is no notation for a most important task as the add-ons mit and mitf have it: priority (A) together with a due date serves that purpose (decision 0009).
Notes, ice_recur.txt, the board columns by filter, the names of the priorities and the links of projects and contexts need a todo.txt file in a folder or a git repository.
They are not available for a single file chosen through the document picker of Android, as the application then has access to that one file only; a folder chosen there has them.
Recurring tasks¶
There are two ways to make a task recur. They differ in what triggers the next task: completing the previous one, or the calendar.
After completion: the tag rec:¶
Use it for a task whose next occurrence only makes sense once the current one is done, such as watering the plants. There is one open task at a time.
- Add the task with a due date and a recurrence, in the edit dialog or as a line:
Water the plants due:2026-11-12 rec:1w. - Complete the task when it is done.
- The application marks it as completed and adds the same task with the next due date.
The recurrence is an amount and a unit; without an amount it is one unit.
| Unit | Meaning | Example |
|---|---|---|
d |
days | rec:3d |
b |
business days, Monday to Friday | rec:b |
w |
weeks | rec:2w |
m |
months | rec:m |
y |
years | rec:1y |
The next due date counts from the day of completion.
With a + in front of the interval, it counts from the previous due date, however late the task was completed:
| Task | Completed on | Next task |
|---|---|---|
Water the plants due:2026-11-12 rec:1w |
2026-11-14 | Water the plants due:2026-11-21 rec:1w |
Pay the rent due:2026-11-01 rec:+1m |
2026-11-03 | Pay the rent due:2026-12-01 rec:+1m |
A start date moves along with the due date and keeps its distance to it. A task with a start date only gets the next start date, and a task with neither date gets a due date. The next task keeps the priority.
By the calendar: the file ice_recur.txt¶
Use it for a task that has to appear on certain days whether or not the previous one is done: every Monday, on the first of the month, on the last Friday of the month. The format is that of the ice_recur add-on.
- Open the editor with the calendar button in the top bar.
It edits the file
ice_recur.txtnext to thetodo.txtfile, which any text editor can edit as well; the file name is fixed, as in the add-on. - Write one entry per line:
[@start] [@@end] timing - task. The part after-is the task as it is added to thetodo.txtfile. - The application adds the tasks of the day when it is open, once per day. The days since it was last open are caught up. A task of an entry that is added or changed in the editor and occurs today is added at once.
- Below the text, the editor tells for each entry the next day on which it adds its task, and which lines it does not understand.
Until the file exists, the editor suggests the entry weekly ; day Friday - Weekly review @review dur:1h, the weekly review of Getting Things Done.
Nothing is scheduled until the entry is saved, which writes it to ice_recur.txt.
| Entry | Adds the task |
|---|---|
daily - (A) Check the mail |
every day |
weekly ; day Monday - (B) Plan the week |
every Monday |
weekly ; day Friday, Sunday - Empty the bins |
every Friday and Sunday |
@2026-11-02 weekly 2 ; day Thursday - Put out the paper bin |
every second Thursday, counted from the week of 2026-11-02 |
monthly ; day_of_month 1, 15 - Check the account |
on day 1 and day 15 of every month |
monthly ; day_of_month -1 - Send the time sheet |
on the last day of every month |
monthly ; day_of_week Friday => -1 - Back up the photos |
on the last Friday of every month |
monthly ; day_of_week Tuesday => 1, 3 - Team meeting |
on the first and the third Tuesday of every month |
@2026-03-01 monthly 3 - Read the meters |
every three months on the day of the start date: 1 March, 1 June, … |
@2026-01-04 yearly - Renew the membership |
every year on 4 January |
yearly ; month_of_year March, September - Change the tires |
on March 1 and September 1 |
@2026-06-01 @@2026-08-31 daily - Water the garden |
every day from June 1 to August 31, 2026 |
- The timing starts with
daily,weekly,monthlyoryearly, optionally followed by an interval:weekly 2is every second week. - Further restrictions follow, each separated by
;with a blank on both sides:day,day_of_month,day_of_week,day_of_year,month_of_year. - Days and months are written as English names or as numbers; for days of the week, 0 is Sunday.
A negative number counts from the end:
day_of_month -1is the last day of the month. - Without a start date, intervals count from 2018-01-01, a Monday, as in the add-on. An entry with an interval greater than one should therefore have a start date.
- An interval of weeks counts weeks from Monday to Sunday:
weekly 2 ; day Friday, Sundaygives a Friday and the Sunday after it, then skips a week. - A line that starts with
#is a comment.
A task is not added while an open task with the same text exists, so tasks that are not completed do not pile up.
Two tasks have the same text if they differ at most in priority, dates and the tags t:, due: and note:.
The application differs from the add-on in these points:
- The add-on is started once a day by a scheduler; the application runs the schedules itself, and only while it is open.
- The add-on always writes the creation date; the application writes it only if writing dates is switched on in the settings.
- The add-on stops at a line it does not understand; the application skips the line and marks it in its editor.
- The options of the add-on to ignore projects and contexts when comparing tasks do not exist.
- Each device remembers on its own when it last ran the schedules. In a git repository, a task that any device added since then counts as existing, also when it is completed already. Without git, a second device may add a task again that was added and completed on the first.
Skipping an occurrence¶
Skip this time in the menu of a recurring task leaves out this occurrence without completing it: it counts as not done, and a task of a family earns no stars.
A task with rec: is replaced in its place by its next occurrence, whose day the menu shows; a task of ice_recur.txt is removed, and the schedule adds it again on its next day.
The todo.txt file has no mark for a skipped task (decision 0063); in a git repository, the commit Skip task records it.
Deadline next to the due date¶
due: is the day to have a task done by, and the day that the menu of a task moves.
A task whose official day is a later one states that day as deadline:, which the application does not move:
File the tax return @home due:2026-11-20 deadline:2026-11-30
- The days between the two are a buffer: after the due date, the task is highlighted as due and not as overdue, and a plan that ends in the buffer has a yellow icon and not a red one.
- After the deadline, the task is overdue and its plan is late, wherever the due date is moved to.
- A task with a deadline and without a due date is due on its deadline.
- A deadline at a time of the day is written
deadline:2026-11-30T12:00: a plan that ends on that day after that time is late (decision 0029). The due date stays a date that other programs read, with its time indueby:. - A deadline that is given for another place states the offset of its time from UTC, as ISO 8601 writes it:
deadline:2026-11-30T23:59-12:00is the end of that day "anywhere on Earth" (decision 0031). The application counts with the day and the time of the device, here2026-12-01 12:59in Germany, and shows them in the label; the pointer on the label shows what is written. - The next occurrence of a recurring task has its deadline moved as far as its due date.
Images of a task¶
An image belongs to the note of a task (decision 0038).
Add image below the note in the dialog of a task chooses one, and on Android Take photo takes one with the camera.
The image is scaled down to at most 1600 pixels on its longer side and written as JPEG to the directory notes, next to the note, which gets a line for it:
The receipt of the van:

- The dialog shows the images of the note below it. It shows those that the note names by a file name; an image at an address is left to a program that shows Markdown.
- On Android, an image that another application shares to koppter becomes a task with that image; a text that comes with it is the description, and without one the task is called Image.
- Removing the line from the note removes the image from the task; the file stays in
notes. - Images need the files next to the
todo.txtfile: a folder or a git repository.
Dates in words¶
The description in the dialog of a task may name its dates in words instead of tags; the dialog marks these words.
Write the report next week is written as Write the report t:2026-11-16 due:2026-11-22.
The phrases are those that SkedPal reads in the title of a task; the examples are typed on Friday, November 13, 2026.
| Typed at the end of the text | Written |
|---|---|
today, tomorrow |
due:2026-11-13, due:2026-11-14 |
this week, next week |
due:2026-11-15, t:2026-11-16 due:2026-11-22 |
this month, next month |
due:2026-11-30, t:2026-12-01 due:2026-12-31 |
weekend |
t:2026-11-14 due:2026-11-15 |
Wed, on Wed, on Sep 15 |
t: and due: on that day |
by Wed, due by Sep 15, Sep 15 |
due: on that day |
by Mon 14:00 |
due:2026-11-16 dueby:14:00 |
tomorrow 3pm, 15 Jul 14:00, on Wed at 9:30 |
due: on that day and at:15:00, at:14:00, at:9:30 |
at 3pm |
at:15:00 |
in 4 days, start in two weeks, begin in a month |
t: that much later |
from Jan 18, start on Jan 18, delay until Jan 18, no earlier than Jan 18 |
t:2027-01-18 |
from tomorrow to Wed, from Dec 15 to Dec 17 |
t: on the first and due: on the second day |
the week of Dec 9 |
t:2026-12-07 due:2026-12-13 |
- A day is
today,tomorrow, a weekday, a day of a month such asSep 15,15 SeporSeptember 15th, or a date such as2026-12-24. - A weekday or a day of a month is the first such day from today on; a week runs from Monday to Sunday.
- The phrase stands at the end of the text; projects, contexts, hashtags and tags may follow it:
Buy milk tomorrow @shop. - While typing, the dialog shows the line that it writes.
If words are not meant as a date, end the description with a full stop:
Buy tickets for the weekend.stays as it is. - A
due:,t:,at:ordueby:tag that is typed as well stays. - The phrases are English.
- Recurrence is not typed in words: use
rec:orice_recur.txt.