NoteStop import format
Format version 1 · Last updated 2026-11-28 · JSON Schema: https://notestop.app/notestop-import.schema.json
NoteStop is a notes app for iPhone and iPad. Notes live in pages. A page has a name, notes (text, tables, pictures and files) and subpages, which are pages too. NoteStop imports pages from a file in the format below.
This page is written for AI assistants as well as people. When someone asks you to "make NoteStop notes from…" a recipe, meeting notes, a web page or a list, follow this page exactly.
Which file to make
| File | What it is | Use it for |
|---|---|---|
Name.notestopjson |
The JSON document below, as UTF-8 text | Text and tables. Make this one unless there are pictures or files. |
Name.notestop |
A zip holding pages.json (the same JSON) and a media folder |
Pages with pictures or files |
If you can only make a .json file, NoteStop opens that too: it's read as a .notestopjson file.
Name the file after its first page, e.g. Weeknight Dinners.notestopjson. To import it, the person opens the file with NoteStop (Share › NoteStop, or AirDrop) and picks where the pages go.
If you can't make files, reply with the JSON in a single code block and say to save it as a .notestopjson (or .json) file.
The document
{
"format": "NoteStop",
"formatVersion": 1,
"roots": [ …pages… ]
}
| Key | Value |
|---|---|
format |
Always "NoteStop". Required. |
formatVersion |
Always 1. Required. |
roots |
The pages to import, at least one. Required. They go where the person picks. If a root has the same name as a page already there (ignoring case), NoteStop asks the person to choose another place. |
exportedAt |
Optional. When the file was made. |
Times are whole numbers of milliseconds since 1970-01-01 UTC, e.g. 1764000000000. All of them are optional: leave them out unless you know them, and NoteStop uses the time of the import.
A page
Only name is required. Leave out anything you don't need: a missing key means its default.
| Key | Value | Default |
|---|---|---|
name |
The page's name, one line, with no tabs. | required |
notes |
The page's sections, in order. See Sections. | none |
children |
The page's subpages, in order (pages, as here). | none |
sortBy |
How the subpages are ordered: "manual", "name", "dateCreated" or "dateModified". |
"dateCreated" |
sortsDescending |
true: newest, latest or Z first. |
false |
showsCheckbox |
true: the page is a to-do, with a checkbox in its parent's list. |
false |
isCompleted |
true: its checkbox is checked. |
false |
dueOn |
A due date as a number yyyymmdd, e.g. 20261127. |
none |
newSubpageShowsCheckbox |
true: subpages added to it later start with a checkbox. Good for a to-do list. |
false |
keepsCompletedInPlace |
true: checked subpages stay where they are instead of moving to the bottom. |
false |
showsAsGroup |
true: its parent's list shows this page's subpages under it, as a group. |
false |
listImageSize |
Size of the page's picture in lists: "small", "medium" or "large". |
the person's setting |
createdAt, modifiedAt, editedAt |
Times (see above). | the import's time |
Leave out sortBy unless the person asked for an order: subpages keep their order in the file.
Use pages for structure. One page per recipe, meeting or topic, gathered under one root page, works better than one long page. A to-do item is a page with "showsCheckbox": true; like any page, it can also have notes and subpages.
Sections
A page's notes is a list of sections, shown top to bottom:
| Section | Shape |
|---|---|
| Text | {"type": "text", "text": { …note text… }}. See Note text. |
| Table | {"type": "table", "table": { …table… }}. See Tables. |
| Subpages | {"type": "subpages"}: where the subpages show among the sections. At most one. Without it, subpages show above the notes, so put it last to show them below. |
| Picture | {"type": "image", "image": {"media": "pic1.jpg"}}: in a .notestop zip only. See Pictures and files. |
| File | {"type": "file", "file": {"media": "menu.pdf", "name": "Menu.pdf"}}: in a .notestop zip only. |
A whole text section with one paragraph:
{"type": "text", "text": {"version": 1, "blocks": [{"runs": [{"text": "Hello"}]}]}}
One text section can hold a whole page of headings, paragraphs and lists. Use more sections only to put a table or picture between pieces of text.
Note text
{"version": 1, "blocks": [ …blocks… ]}
version is always 1. blocks has at least one block.
Blocks
| Block | Shape |
|---|---|
| Paragraph | {"runs": [ …runs… ]} |
| Empty line | {} |
| Heading | {"type": "h1", "runs": [ … ]} or {"type": "h2", "runs": [ … ]}. Only these two levels. |
| Bulleted list | {"type": "bulletList", "items": [ …items… ]} |
| Numbered list | {"type": "numberedList", "items": [ …items… ]} |
A list item is {"runs": [ … ]}, with "indent": 1 for the second level or "indent": 2 for the third. Lists are flat: nesting is only the indent of each item. A list has at least one item.
Make each paragraph of the original its own block, and each list item its own item. \n inside a run is a line break within the same paragraph, as Shift-Return makes; don't use it to separate paragraphs or list items.
Paragraphs, headings and list items may also have:
"indent": 1or2(default0)"align": "center"(default"start")"spaceAfter": true: extra space below it (defaultfalse)
No tabs: to indent, use indent or a list's levels, and for columns use a table. NoteStop turns any tab into a space.
Runs
A run is a piece of text with one formatting. A paragraph with a bold word has three runs:
{"runs": [{"text": "Serves 4. "}, {"text": "20 minutes", "bold": true}, {"text": " start to finish."}]}
| Key | Value |
|---|---|
text |
The text. Required, never empty. |
bold |
true, or false in a heading |
color |
"accent", "plain", "red", "pink", "blue", "green", "orange", "yellow", "purple" or "gray" |
link |
An https:// or http:// URL, or a mailto: or tel: link |
There's no italic, underline or font size.
Leave out bold and color for most text. A run without them looks like its line:
- In a heading: bold and in
"accent", as headings typed in NoteStop are. Each reader's theme decides both, so headings match the rest of their notes. - Anywhere else: not bold, and in
"plain", the normal text color (black, or white in dark mode).
So set them only where the original makes text look different from its line:
- Headings: leave both out. In a heading with a few words that aren't bold, give those runs
"bold": false; for words in the normal text color,"color": "plain". - Other text:
"bold": trueor a color only where the original marks something out. - Which color: a color name where the color means something, such as red for a warning or green for done;
"accent"for emphasis that should take the reader's theme color; nothing for normal text.
Outside a heading, "bold": false and "color": "plain" are the same as leaving them out.
Rules
Only the keys and values on this page. NoteStop refuses the whole file for anything else, except a key outside note text and tables, which it ignores.
Tables
{"version": 1, "title": "This week", "hasHeaderRow": true, "rows": [
[{"runs": [{"text": "Day"}]}, {"runs": [{"text": "Dinner"}]}],
[{"runs": [{"text": "Monday"}]}, {"runs": [{"text": "Lemon Pasta"}]}],
[{"runs": [{"text": "Tuesday"}]}, {}]
]}
| Key | Value |
|---|---|
version |
Always 1. Required. |
rows |
At least one row. Every row has the same number of cells, at least one. Required. |
title |
Optional. One line, not empty, shown above the table. |
hasHeaderRow |
true: the first row is the table's header. |
A cell is {"runs": [{"text": "…"}]}, or {} when empty. Cells are plain text: one run with only text, with no bold, color, link, line break or tab.
Pictures and files
Pictures and files need a .notestop file: a zip holding pages.json and a media folder with each picture and file:
pages.json the document
media/pic1.jpg each picture and file, named as its section's "media" says
media/menu.pdf
| Key | Value |
|---|---|
media |
The file's name in media: letters, digits, - and _ (up to 128 of them), a dot, and the extension in lowercase. Pictures: jpg, jpeg, png, heic, webp, gif or avif. Files: any extension of up to 16 letters and digits. Different for each picture and file; any name works, as NoteStop names each one anew when it imports it. |
name |
Files only: the name shown, with its extension, one line, up to 255 characters. |
Every picture and file listed must be in media, and at most 20 MB, or the import stops.
A complete example
Weeknight Dinners.notestopjson: a page with a short text, a table and three subpages. One subpage is a recipe; the other two are to-dos.
{
"format": "NoteStop",
"formatVersion": 1,
"roots": [
{
"name": "Weeknight Dinners",
"newSubpageShowsCheckbox": true,
"notes": [
{
"type": "text",
"text": {
"version": 1,
"blocks": [
{"runs": [{"text": "Quick dinners for busy nights.\nEverything here takes under 30 minutes."}]}
]
}
},
{
"type": "table",
"table": {
"version": 1,
"title": "This week",
"hasHeaderRow": true,
"rows": [
[{"runs": [{"text": "Day"}]}, {"runs": [{"text": "Dinner"}]}],
[{"runs": [{"text": "Monday"}]}, {"runs": [{"text": "Lemon Pasta"}]}],
[{"runs": [{"text": "Tuesday"}]}, {}]
]
}
},
{"type": "subpages"}
],
"children": [
{
"name": "Lemon Pasta",
"notes": [
{
"type": "text",
"text": {
"version": 1,
"blocks": [
{
"runs": [
{"text": "Serves 4. "},
{"text": "20 minutes", "bold": true},
{"text": " start to finish."}
]
},
{"type": "h2", "runs": [{"text": "Ingredients"}]},
{
"type": "bulletList",
"items": [
{"runs": [{"text": "400 g spaghetti"}]},
{"runs": [{"text": "2 lemons"}]},
{"runs": [{"text": "zest of both"}], "indent": 1},
{"runs": [{"text": "juice of one"}], "indent": 1},
{"runs": [{"text": "50 g parmesan, grated"}]}
]
},
{"type": "h2", "runs": [{"text": "Steps"}]},
{
"type": "numberedList",
"items": [
{"runs": [{"text": "Cook the spaghetti; keep a cup of the water."}]},
{"runs": [{"text": "Toss with the zest, juice, parmesan and a splash of the water."}]},
{
"runs": [
{"text": "Season and serve "},
{"text": "at once", "color": "red"},
{"text": "."}
]
}
]
},
{
"runs": [
{"text": "Recipe from "},
{"text": "example.com", "link": "https://example.com/lemon-pasta"}
]
}
]
}
}
]
},
{"name": "Buy parmesan", "showsCheckbox": true, "dueOn": 20261127},
{"name": "Try the new pizza place", "showsCheckbox": true, "isCompleted": true}
]
}
]
}
Making the file with code
If you can run code, these helpers write the shapes above:
import json, zipfile
def text(*blocks):
return {"type": "text", "text": {"version": 1, "blocks": list(blocks)}}
def table(rows, title=None, header=False):
value = {"version": 1}
if title: value["title"] = title
if header: value["hasHeaderRow"] = True
value["rows"] = [[{"runs": [{"text": c}]} if c else {} for c in row] for row in rows]
return {"type": "table", "table": value}
def para(s): return {"runs": [{"text": s}]} if s else {}
def h1(s): return {"type": "h1", "runs": [{"text": s}]}
def h2(s): return {"type": "h2", "runs": [{"text": s}]}
def bullets(*items): return {"type": "bulletList", "items": [{"runs": [{"text": i}]} for i in items]}
def numbered(*items): return {"type": "numberedList", "items": [{"runs": [{"text": i}]} for i in items]}
def page(name, notes=(), children=(), **options):
p = {"name": name, **options}
if notes: p["notes"] = list(notes)
if children: p["children"] = list(children)
return p
def todo(name, **options):
return page(name, showsCheckbox=True, **options)
document = {"format": "NoteStop", "formatVersion": 1, "roots": [
page("Groceries", [text(h2("This week"), bullets("Milk", "Eggs"))],
[todo("Buy coffee", dueOn=20261127)]),
]}
# Text and tables only:
with open("Groceries.notestopjson", "w", encoding="utf-8") as f:
json.dump(document, f, ensure_ascii=False, indent=2)
# With pictures or files, make a .notestop zip instead. A section {"type": "image",
# "image": {"media": "pic1.jpg"}} goes with the file media/pic1.jpg:
#
# with zipfile.ZipFile("Groceries.notestop", "w", zipfile.ZIP_DEFLATED) as z:
# z.writestr("pages.json", json.dumps(document, ensure_ascii=False))
# z.write("photo.jpg", "media/pic1.jpg")
Versions
This is format version 1. A later version of NoteStop may add keys and values, and will raise formatVersion when it does. NoteStop always reads files of earlier versions.