E109 downloadsExplode a paragraph into sentences and reorder them with clicks.
Rearrange the sentences of a paragraph by exploding it into pieces and putting them back in a new order with a few clicks. Works on desktop and mobile.
Your note is never touched until you confirm, and every change is a single edit, so one undo (Ctrl/Cmd+Z) restores the original.
Run these from the command palette. Each works on your selection if you have one, otherwise on the paragraph under the cursor (a block delimited by blank lines).
| Command | What it does |
|---|---|
| Explode paragraph | Opens the reorder window with one entry per sentence. |
| Explode paragraph in place | Rewrites the paragraph as one sentence per line, right in the editor. |
| Explode selection into phrases | Like the first command, but splits your selection into phrases (commas, semicolons, colons, and words like "and", "but", "because"). Requires a selection. |
| Reorganize notes (selection or whole page) | Opens a section tree of your notes so you can move sections and blocks around. See Reorganize notes below. |
| Collapse exploded lines back into a paragraph | Joins the lines of an exploded paragraph back into one. |
Pick pieces from Remaining to build the New order, then Apply. A Preview shows exactly what will be written.
Modes (switch at the top of the window at any time, nothing is lost):
| Mode | Output |
|---|---|
| Paragraph | All pieces joined into one paragraph. |
| Sentence lines | One piece per line. |
| Notes | A bullet list. Pieces can be grouped into notes and indented into sub-points. |
Building the order
⋮⋮) into the New order at the position you want.Cut where you choose: split marks
~) into your text wherever you want a cut, select it, and run any explode command. Example: Genetic differences ~ are thought to contribute to~ the lions share ~of the liability for autism,~ with estimated heritability as responsible for 50-90% of the vulnerability to the disorder~.~~strikethrough~~) is ignored. Change or turn off the mark in the settings.Drafting: rewrite parts of a sentence
XYZ get their own piece automatically in Explode selection into phrases, are highlighted, and are counted under the lists until you rewrite them. Example: "Genetic factors are thought to contribute to XYZ of the liability for autism." becomes three pieces: Genetic factors are thought to contribute to, XYZ, and of the liability for autism. Edit XYZ into your own words and Apply.XYZ, TBD, ___, case-sensitive).Notes mode
N), then click pieces. They all join one note. Press N again to start the next note, and twice to stop.Tab / Shift+Tab) move the selected notes one level at a time, up to six levels deep. The first bullet, and the first bullet after a heading, always stays at the top level. Output uses one tab per level.H to cycle) turn the selected items into #, ## or ### headings, and Bullet turns them back. Headings are written without a bullet. They only appear in Notes mode; in the other modes they are written as normal text.Keys: 1-9 pick the remaining piece with that number; Backspace undoes the last change; Enter applies; Esc cancels; N, G, U, H, Tab, Shift+Tab for notes as above; Alt+Up / Alt+Down move the selected item.
Select any stretch of notes, or select nothing to use the whole page (frontmatter is left alone), and run Reorganize notes (selection or whole page). Your notes are split into blocks: headings, paragraphs, bullets (each top-level bullet with its nested bullets), quotes and callouts, code, tables and dividers.
Seeing the structure
H1-H6 badge. Everything under a heading is indented beneath it, so sections and subsections read as a tree.Reorganizing
Formatting: choose what survives when the notes are written back.
| Choice | Result |
|---|---|
| Keep all formatting | Your text is written back exactly as it was. |
| Choose what to keep | Tick the kinds to keep: headings and dividers, bullets and numbers, bold/italic/highlight, links, code and math, quotes and callouts, tables, footnotes and citations. Anything unticked becomes plain text. |
| Plain text | No formatting at all: headings become plain lines, bullets become lines, links become their text, tables become cell; cell lines, and so on. |
The window shows each block as it will be written, so the effect is visible before you apply. Your choice is remembered.
Notes: blank lines between blocks are normalized (runs of blank lines become one), and a moved block is separated from its new neighbors by a blank line. Underlined (setext) headings are treated as paragraphs; use # headings.
Sentences are copied verbatim; only their order changes. Splitting does not happen inside:
[[wikilinks]], [links](https://example.com), URLs, inline code, footnotes like [^1], and citation keys like [@smith2020]Headings, code blocks, tables, frontmatter, lists and quotes are skipped with a notice. A soft line break inside a sentence becomes a single space.
~).Once listed: Settings → Community plugins → Browse → search "Paragraph Explode".
Manual: download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/paragraph-explode/, then enable the plugin.
npm install
npm run dev # watch build
npm test # vitest
npm run build # type-check and production build
MIT