Text Workflow: Clean Up AI Text and Automate Text on Mac and iPhone
Text Workflow app icon Text Workflow · Mac, iPhone and iPad

Clean up any text in one click.

Text from ChatGPT, PDFs and web pages comes full of junk: citation tags, stray Markdown, hidden characters. Text Workflow cleans it, sorts it and formats it with more than 50 actions, and chains them into workflows you run in one click.

Mac: buy once, no subscription · iPhone and iPad: free, with optional Pro · macOS 13 or later

Input

A live demo with the same text and results you get in the app. Pick a tab to try another action.

Clean AI Text

Paste from ChatGPT. Copy clean text.

Answers from ChatGPT, Claude, Gemini and Perplexity come with citation tags, Markdown symbols and invisible characters. Clean AI Text removes them in one step, and you choose exactly what goes.

  • Citations like [1], [web:3] and 【4:0†source】
  • Zero-width characters and no-break spaces
  • Markdown, extra spaces, curly quotes, emojis and em dashes, only if you want
Clean AI Text in Text Workflow for Mac: an answer about the Mediterranean diet with citations, Markdown and hidden characters in the input, and clean text in the result.
Compare

See exactly what changed.

Compare marks every change between the input and the result, by line, word or character. Removals are red and additions are green, so you know what you're pasting before you paste it.

The Compare sheet in Words mode, with removed citations and Markdown in red and the cleaned words in green.
Workflows

Save the steps. Run them in one click.

Chain actions into a workflow: trim the lines, drop the empty ones and the duplicates, sort, then number. Every option is saved, so you get the same result every time.

  • Favorites at the top, the rest in folders
  • Run them from the menu bar or the Shortcuts app
  • Synced with iCloud to your iPhone and iPad
The Clean and format a list workflow: Trim Lines, Remove Empty Lines, Remove Duplicates, Sort Lines and Number Lines turn a messy list of names into a numbered, sorted list.
Sort LinesNew in 3.1

Sort by any word, not just the first.

Sort Lines can sort by word number N, by the text after the Nth space, or from character N. Here a list of dates is sorted by the month name, the third word. Lines with the same key keep their order.

Sort Lines set to Alphabetical by Word number 3, sorting a list of Catalan dates by the month name.
Run ScriptNew in 3.1

Missing a tool? Write it in a few lines.

Run Script turns a few lines of JavaScript into your own action. Start from one of 8 templates, like Roman numerals to numbers or reordering CSV columns, and the result updates as you type.

  • Runs on your device, with no internet access
  • Errors in plain words, with the line number
  • A big editor with the live result and console next to it
The Run Script action with the Roman numerals template, turning Chapter IV into Chapter 4 in a book outline.
Markdown → Rich Text

From AI Markdown to a real document.

Turn the Markdown from any AI chat into rich text with headings, bold, lists and tables, ready to paste into Pages, Mail, Word or Notes.

Markdown for a weekend in Lisbon converted to rich text with a heading, a bold line, a table and a bulleted list.
The toolbox

More than 50 actions.

Edit, clean, convert, format, encode and count. Use one action at a time, or chain as many as you need.

Menu bar and Clipboard Rules

Clean text without opening the window.

Every action and workflow is in the menu bar. Copy text in any app, run a workflow, and the result is back on your clipboard. Clipboard Rules notice what you copied, like Markdown or CSV, and pick the right workflow for you.

The Text Workflow menu bar panel listing actions such as Add Prefix, Beautify JSON, Clean AI Text and Convert Case.

Menu bar. All your actions and workflows, one click from any app.

Clipboard Rules settings: text that looks like Markdown loads Clean AI Text, and text that looks like CSV loads CSV to Markdown Table.

Clipboard Rules. The first rule that matches what you copied picks the workflow or action.

Private by design
Actions run on your device, with no account. Text leaves it only when you add an online action, like an AI step or Shorten URLs.
Synced with iCloud
Build a workflow on your Mac and it's ready on your iPhone and iPad.
Shortcuts
Run your workflows from the Shortcuts app, as part of your own automations.
From any app
Send selected text with the Services menu on Mac, or the Share sheet on iPhone and iPad.
AI when you want it
Add an AI step with your own OpenAI, Claude or Gemini key, a local server, or Apple's on-device model.
In five languages
English, German, Greek, Spanish and Simplified Chinese.
iPhone and iPad

Your workflows, in your pocket.

Text Workflow for iPhone and iPad has the same actions, a Share sheet extension and Shortcuts support. Your workflows sync with iCloud, so the ones you build on your Mac are ready wherever you are.

Free to download. Pro is a subscription or a one-time purchase. Requires iOS 17 or later.

Text Workflow on iPhone: the AI answer as input, and the Clean AI Text result below it.
Featured by
Text Workflow app icon

Clean text is one click away.

Text Workflow for Mac is a one-time purchase. On iPhone and iPad it's free to start, with Pro when you need it.

Questions or feedback? Contact support

Contact me