Small tools that don’t
break your documents.
KaPaPi makes Google Workspace add-ons that each do one thing, carefully. They ask for the narrowest permission that works, they send nothing anywhere, and when they cannot tell what you meant, they leave your document alone.
Tools
Two, so far.
Both are free, both are open source, and both work only inside the one document you open them in.
CleanPaste
Cleans up text pasted from PDFs, web pages and AI tools. Repairs the line breaks a paste cut mid-sentence, removes doubled spaces and invisible characters, and keeps your bold, links and lists exactly where they were.
Google Docs →SortDoc
Sorts the paragraphs or list items you have selected, A to Z or Z to A. It reorders the elements themselves rather than retyping them, so headings, bullets, links and bold move with the lines they belong to.
Google Docs →How we build
Four rules, and they cost us features.
These are not aspirations. Each one has changed what shipped, and each one is checkable against the source.
Refuse rather than guess
When a tool cannot tell what you meant, it does nothing and says so. A missed change costs you one keypress. A wrong one is not obvious for an hour.
The narrowest permission
Our add-ons ask to see the one document they are open in — not your Drive, not your other files. They cannot open something you have not opened them in.
Nothing leaves the document
No servers, no analytics, no accounts, no AI services. Your text is read and edited inside Google’s own runtime and goes nowhere else. There is nothing to leak because there is nothing collected.
Measure, don’t assume
Behaviour that the documentation leaves ambiguous gets tested in a real document before anything is built on it. Four such findings changed CleanPaste after it already “worked”.
Why the formatting survives
We edit documents in place.
The usual way to change a paragraph is to read it out as plain text, fix the string, and type it back. That round trip is also how this class of add-on loses your work: everything that is not a character — bold runs, italics, links, colours, list membership — is discarded on the way.
Our tools never hold a “fixed version” of your paragraph. They compute which characters to delete and which elements to move, then do exactly that. Deleting a character cannot disturb the formatting of the characters left behind.
The committee reviewed the proposal at length and agreed to postpone it.
The committee reviewed the proposal at length and agreed to postpone it.
CleanPaste joining a line the paste broke mid-sentence — and leaving the paragraph break that follows it alone.
Open source
You can check all of it.
Every claim on this page is verifiable against the source. The repositories include the test suites, the fixtures, and the notes on what was measured and what it changed.