How to Set Up a One-Tap Text Cleaner on iPhone
You paste a paragraph from ChatGPT into a text message, hit send, and it looks fine on your screen. Then someone replies with a screenshot and the quotes look weird, there is a stray double-line where a bullet used to be, and the dash between two words is suspiciously long. On a desktop this is an annoyance you fix with a "paste as plain text" keyboard shortcut. On an iPhone, that shortcut basically does not exist in the places you actually type: Messages, Mail, Notes, the caption box on Instagram, the description field on a marketplace listing. iOS gives you exactly one paste, and that paste carries every curly quote, em-dash, non-breaking space, and leftover markdown symbol along for the ride.
This guide fixes that permanently. You are going to build a small tool that lives on your phone and cleans whatever is on your clipboard the instant you tap it. No app to install, no subscription, no sending your text off to some server. It runs entirely on-device using the Shortcuts app that already ships with iOS. By the end you will have a one tap text cleaner iphone workflow that you can trigger from the Home Screen, from the Share Sheet inside any app, or even by double-tapping the back of the phone. And because I would rather you trust this page than be disappointed by it, I will be direct about what this does and does not do: it is formatting hygiene, not a magic wand that hides AI writing from detection software.
Why the iPhone Makes This So Annoying in the First Place
On a Mac or a Windows PC, you have muscle memory for cleaning text: copy, then press Command-Shift-V or Control-Shift-V, and most apps drop the formatting and give you raw characters. That single habit solves ninety percent of the problem on a desktop. iOS has no system-wide equivalent. When you long-press and tap Paste, the app decides how to interpret what is on the clipboard, and most of the time it faithfully preserves the exact Unicode characters that were copied. That is usually a good thing. It becomes a bad thing the moment your clipboard contains text that a large language model generated.
Here is what actually rides along invisibly. When you copy text out of ChatGPT, Claude, Gemini, or almost any AI chat interface on iOS, you tend to pick up curly or "smart" quotation marks (the ones that curl toward the word, like the opening and closing quotes a typesetter would use) instead of the plain straight quote your keyboard produces by default in code and forms. You pick up em-dashes, the long horizontal line that models love to sprinkle between clauses. You pick up non-breaking spaces, which look identical to a normal space but behave differently and sometimes cause words to clump oddly when a line wraps. And if the model was formatting its answer, you can end up with literal markdown symbols: double asterisks that were supposed to render as bold, or hash marks that were supposed to be a heading, sitting there as raw characters because Messages and Notes do not interpret markdown.
None of these characters are wrong, exactly. They are just characters you did not choose, and they are the reason pasted AI text looks subtly "off" in a plain-text field. If you want the full catalogue of what tends to hitch a ride, RepDex has a dedicated breakdown of how to remove hidden characters from AI text that goes deeper than we will here. For this guide, the point is simple: you cannot easily strip these on an iPhone by hand, so you are going to teach your phone to do it automatically.
What the Shortcuts App Is and Why It Is Perfect Here
Shortcuts is a free Apple app that comes preinstalled on modern iPhones. If you deleted it at some point, you can reinstall it from the App Store for nothing. Think of it as a visual way to chain small actions together into a mini-program without writing traditional code. Each action is a block: "Get the clipboard," "Replace this text with that text," "Set the clipboard." You stack the blocks in order, and when you run the shortcut, iOS executes them top to bottom.
What makes it perfect for a text cleaner is a combination of three properties. First, it can read from and write to your system clipboard, which is exactly the pipe we need to intercept. Second, its Replace Text action supports regular expressions, which lets us match patterns rather than single literal characters, so we can strip whole families of markdown in one move. Third, a finished shortcut can be launched from multiple places: the Home Screen, the Share Sheet, Siri, the widget stack, and the Back Tap gesture. That flexibility is what turns a clever little script into something that genuinely feels like a built-in feature.
Crucially, everything runs locally. The Replace Text action is a string operation happening on your device. Your clipboard contents never leave the phone, which matters if you are pasting anything remotely sensitive. That is a real advantage over web-based cleaners, and it is the same reason a native approach is worth the ten minutes of setup.
Building the Clean Clipboard Shortcut Step by Step
We are going to build a shortcut called Clean Clipboard. The overall shape is: grab whatever is on the clipboard, run it through a series of find-and-replace passes to swap the messy characters for clean ones, then write the cleaned result back to the clipboard so your very next paste is tidy. Follow these in order and do not skip the regular-expression toggle notes, because that toggle is the difference between a replacement working and silently doing nothing.
- Open the Shortcuts app. Tap the Shortcuts tab at the bottom, then tap the plus (+) button in the top-right corner to create a new, empty shortcut.
- Give it a name now so you do not forget. Tap the name field or the small settings area at the top and type
Clean Clipboard. A clear name matters later when you add it to the Share Sheet and Back Tap, because that is the label you will be hunting for in a list. - Add the first action. Tap Add Action (or the search bar for actions) and search for
Get Clipboard. Tap it to add it. This action pulls the current clipboard contents into the shortcut as its working value. It has no options to configure. - Add the first cleanup pass. Search for
Replace Textand add it. You will see a block that reads roughly "Replace [Text] with [Text] in [Clipboard]." The important part: make sure the "in" field is wired to the output of the previous action. Shortcuts usually chains this automatically, showing the magic variable from Get Clipboard. If it does not, tap the input field and pick the Clipboard variable from the earlier step.
Now we configure a stack of Replace Text actions, one family of characters at a time. Add a fresh Replace Text action for each pass below, and make sure each one operates on the output of the one before it so the fixes accumulate. The first several are literal character swaps, so leave the Regular Expression toggle OFF for those. The markdown-stripping passes at the end need it ON, and I will call that out explicitly.
Pass 1: Curly Double Quotes to Straight Quotes
- In this Replace Text action, tap the Find field and type the opening curly double quote character. The cleanest way to get it: in a note, type a word inside double quotes so iOS auto-curls it, then copy just the opening mark and paste it into the Find field. It is the double quote that curls toward the following word.
- In the Replace field, type a plain straight double quote using your keyboard:
". - Leave Regular Expression OFF. This is a literal one-character-for-one-character swap.
- Add a second Replace Text action for the closing curly double quote (the one that curls the other way) and again replace it with a straight
". Curly quotes come in an opening and closing pair, so you need both passes to catch every instance.
Pass 2: Curly Single Quotes and Apostrophes to Straight
- Add a Replace Text action for the curly single opening quote, replacing it with a straight single quote
'. Regular Expression stays OFF. - Add another for the curly single closing quote, which is also the character iOS uses for a smart apostrophe in words like "don't." Replace it with the straight
'as well. This one matters more than people expect, because apostrophes appear constantly, and the curly version is the single most common giveaway when you paste into a code field or a URL slug.
Pass 3: Em-Dash and En-Dash to Hyphen
- Add a Replace Text action. In Find, enter the em-dash, the long horizontal line. In Replace, decide on your house style. Many people prefer a spaced hyphen, so type
-(space, hyphen, space) if the original em-dashes did not already have spaces around them and you want breathing room. Others prefer a bare hyphen-. Pick one and be consistent. - Add a second Replace Text action for the en-dash, the medium-length dash that models sometimes use in number ranges. Replace it with a plain hyphen
-. Regular Expression stays OFF for both dash passes.
Pass 4: Non-Breaking Space to Normal Space
- Add a Replace Text action. The non-breaking space is invisible, which makes it awkward to type directly. The reliable trick: turn ON the Regular Expression toggle for just this action and put the Unicode escape
in the Find field, then a single normal space in the Replace field. - If your version of Shortcuts does not honor the
escape, an alternative is to copy a known non-breaking space from a reference note and paste it into the Find field with Regular Expression OFF. Either way, the result is that clumpy invisible spaces become ordinary ones your line-wrapping can handle.
Pass 5: Strip Markdown Bold and Headings With Regular Expressions
This is where the Regular Expression toggle earns its keep. Instead of hunting for exact strings, we match patterns. Add these Replace Text actions and turn Regular Expression ON for each one.
- Remove bold asterisks. In Find, enter
\*\*(two backslash-escaped asterisks, because an asterisk is a special character in regex and must be escaped). Leave Replace empty so the asterisks are deleted. With Regular Expression ON, this strips the double asterisks that were meant to render as bold but show up as literal symbols in Messages and Notes. - Remove single-asterisk emphasis (optional). If you also want to strip single asterisks used for italics, add a pass with Find set to
\*and an empty Replace. Be aware this is aggressive: it will remove any legitimate asterisk in your text, such as a footnote marker, so only add it if you know your text does not use asterisks for anything you want to keep. - Remove heading hashes. In Find, enter
^#{1,6}\s*and turn on Regular Expression. This pattern means "at the start of a line, one to six hash marks followed by any spaces." Leave Replace empty. It converts a markdown heading line like### Summaryinto justSummary. For the^anchor to match at the start of each line rather than only the very first line, look for a "match across lines" or multiline behavior; on most iOS versions the Replace Text regex treats^per line automatically, but if it only catches the first heading, you can instead use#{1,6}\swithout the anchor as a looser fallback. - Collapse leftover list markers (optional). If your pasted text had markdown bullets like
-or*at line starts that you would rather flatten, you can add a targeted regex pass, but tread carefully so you do not eat the hyphens you just standardized from dashes. Most people skip this and leave real bullets alone.
Pass 6: Write the Cleaned Text Back to the Clipboard
- After the last Replace Text action, search for and add
Copy to Clipboard(in some iOS versions this action is labeledSet Clipboard). Make sure its input is the output of your final Replace Text action, so it stores the fully cleaned string. - Optional but recommended while you are testing: add a
Show Resultaction before or instead of Copy to Clipboard so you can eyeball the cleaned text in a pop-up and confirm the passes did what you expected. Once you trust it, you can remove Show Result for a silent, instant run, or keep it if you like the confirmation.
That is the whole build. Tap Done to save. Run it once as a sanity check: copy a messy paragraph from a chat app, tap your shortcut, then paste into Notes and admire the straight quotes and plain hyphens. If something did not change, revisit the pass responsible and confirm the Regular Expression toggle is in the state that pass requires. The most common mistake is leaving the toggle OFF on the markdown passes, which makes the shortcut look for a literal backslash-asterisk string that will never appear, so nothing gets removed.
Making It Truly One Tap: Home Screen and Share Sheet
A shortcut buried inside the Shortcuts app is not one tap. It is five taps. To earn the "one tap" name, you need to surface it where your thumb already is.
Add It to the Home Screen
- In the Shortcuts app, find your
Clean Clipboardshortcut. Tap the three-dot menu (or long-press the shortcut and choose Details/Share, depending on iOS version). - Choose Add to Home Screen. iOS opens a preview where you can rename the icon label (keep it short, like "Clean") and, on newer versions, pick a glyph and color so you can spot it instantly.
- Tap Add. Now there is an icon on your Home Screen. Tapping it runs the shortcut directly. This is genuinely one tap: copy your text from anywhere, go to the Home Screen, tap Clean, and your clipboard is now clean and ready to paste.
Add It to the Share Sheet
The Share Sheet route is even slicker because it lets you clean text without leaving the app you are in, and it can operate on selected text directly rather than the clipboard.
- Open your shortcut and go into its settings (the info or details panel, often reached via the three-dot menu then the settings icon).
- Turn on Show in Share Sheet. When you enable this, Shortcuts asks what kinds of input the shortcut should accept. Make sure Text is selected so it appears whenever you share or select text.
- Because Share Sheet passes the selected content in as Shortcut Input rather than the clipboard, add one small tweak for this to work seamlessly: at the very top of your action list, you can use an
Ifcheck, or more simply, replace the openingGet Clipboardwith logic that uses Shortcut Input when it exists and falls back to the clipboard when it does not. If that feels fiddly, the low-effort path is to keep the Home Screen version clipboard-based and duplicate the shortcut into a second copy tuned for the Share Sheet. Two small shortcuts beat one over-engineered one. - Test it: in Safari or Notes, select some messy text, tap Share, scroll to find
Clean Clipboard, and tap it. The cleaned text lands on your clipboard ready to paste right where you were working.
The Hidden Gesture: Run It With Back Tap
Back Tap is the most satisfying trigger of all, because it means you never look at an icon. You double-tap or triple-tap the back of your iPhone, and the shortcut fires. It feels like a secret handshake with your own phone.
- Open Settings, then go to Accessibility.
- Tap Touch, then scroll to the bottom and tap Back Tap.
- Choose either Double Tap or Triple Tap. Double Tap is faster to trigger but slightly more prone to accidental fires; Triple Tap is more deliberate. For a clipboard cleaner, accidental fires are harmless, so double is fine.
- Scroll down the list of assignable actions until you reach the Shortcuts section at the very bottom, and tap your
Clean Clipboardshortcut to bind it. - Now the workflow is: copy your text, tap the back of your phone twice, and paste. No icon, no Share Sheet, no menu. This is the closest an iPhone gets to the desktop "paste as plain text" reflex.
One caveat worth knowing: Back Tap can be finicky through very thick cases, and it may occasionally misfire when you set the phone down hard. Neither is a real problem for a harmless cleanup shortcut. If you find it too twitchy, fall back to the Home Screen icon.
The Simpler Fallback: A Plain-Text Paste Trick
Maybe you do not want to build anything today, or you just need a quick fix once. There are lighter-weight options that get you most of the way, and honesty compels me to mention them even though they are less thorough than the shortcut.
The oldest trick in the book is to launder your text through a field that refuses to keep formatting. On iPhone, the Safari address bar and many search boxes strip rich formatting when you type or paste into them, and some invisible characters get normalized in the process. Paste your text into the address bar, select all, copy again, and paste it where you actually want it. This is crude and unreliable, and it will not touch em-dashes or markdown symbols, but it can knock out some invisible junk in a pinch.
A more dependable no-build option is to keep a tiny "scratch" note in the Notes app formatted as plain text, or to use a plain-text editor app. Paste in, and if the app normalizes characters, copy back out. Again, this is partial. It does not do the systematic character swaps the shortcut does, which is exactly why the shortcut is worth building once and reusing forever. If you routinely work across your phone, laptop, and a browser, it is also worth reading RepDex's device-agnostic overview of how to clean ChatGPT text on any device, because the right tool genuinely changes depending on whether you are on iOS, a Chromebook, or a desktop.
Troubleshooting Common Problems
The Shortcut Runs but Nothing Changed
Ninety percent of the time this is the Regular Expression toggle in the wrong state. Literal passes (curly quotes, dashes) need it OFF; pattern passes (the markdown asterisks and heading hashes) need it ON. Open each Replace Text action and verify. The second most common cause is that a Replace Text action is not chained to the previous one, so a middle action is silently operating on empty input. Tap each action's input field and confirm it points at the output of the action above it.
My Apostrophes Turned Straight but Look Wrong to Me
That is expected and, for most plain-text destinations, correct. Straight quotes are what code fields, form inputs, and URL slugs want. If you are pasting into a place that renders typography nicely, like a polished document, you might actually prefer the curly versions. In that case, do not run the quote passes, or make a second shortcut without them. The tool is yours to tune.
The Heading-Hash Pass Only Fixed the First Heading
Your regex engine treated ^ as "start of the whole text" rather than "start of each line." Switch that pass to the anchor-free fallback #{1,6}\s with Regular Expression ON, which matches hash runs anywhere, at the small cost of also catching a stray hash mid-sentence. For cleanup purposes that trade-off is usually fine.
Copied Text From an App Is Not Landing on the Clipboard
Some apps put an image or a rich object on the clipboard instead of plain text, and Get Clipboard may pull that instead. Before running the shortcut, make sure you selected and copied actual text, not a card or a link preview. If an app is stubborn, select the text, use the Share Sheet route, and let the shortcut take the selection as input directly.
Back Tap Is Not Firing
Confirm you assigned the shortcut under Settings, Accessibility, Touch, Back Tap, and that your case is not too thick. Try Triple Tap if Double Tap is unreliable, or vice versa. Restarting the phone occasionally revives a Back Tap that stopped responding after an iOS update.
The Honest Part: This Is Hygiene, Not Camouflage
Here is where a lot of iphone clean chatgpt text guides go quiet, and I will not. Building an ios shortcut clean text tool is fantastic for one thing: making pasted AI output look like text a careful human typed, with straight quotes, plain hyphens, ordinary spaces, and no leftover markdown litter. That is real value. It saves you from the visual tells that scream "I pasted this from a chatbot," and it makes your messages, notes, and listings look clean and intentional. When people search for how to remove formatting iphone or clean up model output, this is genuinely the fix.
What it does not do is reliably defeat AI-detection software. It is tempting to assume that if you scrub the em-dashes and swap the curly quotes, a detector will suddenly rate your text as human. That is not how these systems work. Detectors do not primarily key off punctuation characters. They analyze statistical patterns in word choice, sentence structure, predictability, and rhythm across the whole passage. Swapping a smart quote for a straight one changes a character; it does not change the underlying patterns a classifier weighs. If you want to understand why, RepDex has a clear-eyed explainer on what AI detectors look for that is worth reading before you pin any hopes on formatting tricks.
So set your expectations correctly. Use this shortcut because clean text is better text: it is more professional, it avoids weird rendering, and it removes hidden characters that can genuinely cause problems in code, spreadsheets, and forms. Do not use it believing it launders AI writing past a detector, because it does not, and anyone promising that is selling you something. Formatting hygiene and detection are two different problems, and honest tools stay in their lane.
Where This Fits in a Larger Workflow
The iPhone shortcut is the mobile piece of a bigger habit. If you draft on your phone and finish on a computer, you will run into the same characters in different places, and the fix looks different depending on the destination. Pasting into a word processor, for example, has its own quirks around styles and spacing; RepDex covers the specific case of how to fix ChatGPT formatting in Google Docs if that is where your text usually ends up. The through-line across all of these is the same: AI text arrives dressed in characters you did not choose, and a small deliberate cleanup step makes it yours.
What I like about the Shortcuts approach is that it is invisible once it is built. You do the work one afternoon, wire it to Back Tap, and then forget the mechanics entirely. Copy, tap the back of the phone, paste. The messy quotes are gone, the long dashes are hyphens again, the invisible spaces are normal, and the markdown symbols have vanished, all without a single app to open or a website to visit. That is the whole promise of building your own tool instead of renting someone else's: it does exactly what you told it to, it keeps your text on your device, and it fits the way you actually use your phone.
Build it once. Tune the passes to your taste, straight or curly, spaced hyphen or bare. Add it wherever your thumb lives. And keep the honest frame in mind: you are polishing how text looks and behaves, which is a real and worthwhile thing, not disguising where it came from. Clean text is a courtesy to your reader and a favor to your future self who has to paste it into a form that chokes on smart quotes. Give yourself the one-tap version and you will never think about curly quotes on your iPhone again.