Skip to content
UniKit

Scratch notepad

A multi-tab scratch notepad: the first line becomes the tab title, every keystroke is saved to browser localStorage so a reload never loses it, and any tab or the whole notebook can be copied or exported as .txt / .md. The payload is a versioned JSON document that is repaired, not discarded, when damaged.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Tabs1 tabs

This tab is still empty; just start typing and it is saved automatically.

Saved as you type: tabs and bodies live in your browser localStorage, so they survive a reload.

Statistics

Characters
0
Words
0
Lines
0
Tabs
1

Export preview

This is exactly what “Export .md” writes to the file you download.

# Untitled

What this tool does

  • Keep scratch notes apart in tabs (meeting notes, todos, command snippets); the first line of a tab body is its title, so nothing has to be named twice.
  • Saved as you type: every edit is written to browser localStorage, with ids, titles, bodies and edit times serialised into a versioned JSON payload, so a reload or a closed tab keeps the text.
  • Take it away in one click: copy the active tab body, or export the whole notebook as .txt (title plus underline) or .md (`# title` plus body, tabs separated by `---`).

Example

Input

Meeting notes
1. Confirm the search page launch date
2. Add 20 e2e cases

Output

# Meeting notes

1. Confirm the search page launch date
2. Add 20 e2e cases

The title is the first body line; the .md export drops that line from the body so the heading appears once.

Frequently asked questions

Where are the notes stored? Do they survive a closed browser?

In this browser’s localStorage under the key unikit:note:v1 — local only, no upload. Closing the page or restarting the browser keeps them, but clearing site data or switching device/browser loses them, so export important notes.

How is a tab title decided?

It is always the first non-empty line of the body (a leading # is stripped), truncated at 40 characters with an ellipsis. An empty tab shows as “Untitled”.

Are there limits?

One tab body is capped at 200,000 characters and a notebook at 50 tabs; exceeding either shows a message and leaves the data untouched. The overall localStorage quota is the browser’s (usually around 5 MB).

What happens to damaged saved data?

Parsing is tolerant: non-JSON payloads become a single tab body, and wrong versions, missing fields, duplicate ids or oversized bodies are repaired field by field with a notice instead of throwing the notebook away.

What exactly is in the exported file?

.txt is “title, underline, body”; .md is “# title, body”, with tabs separated by blank lines or ---. File names are unikit-note.txt and unikit-note.md.

Keywords:localStoragescratch notepadlocal notesmarkdown export

Related tools