Remove Formatting

Clean pasted text.

Loading tool…

What hides inside formatted text

Copying text from a web page or a word processor carries far more than the words. The clipboard holds a rich-text flavour containing font families, sizes, colours, background highlights, list structures, and often the source document's stylesheet fragments. Paste that into a CMS or an email and all of it comes too, which is why pasted paragraphs so often appear in the wrong font or with a stubborn white background.

There are also invisible passengers: non-breaking spaces, smart quotes and em dashes substituted by autocorrect, soft hyphens, and zero-width characters. Those can break code, corrupt search matching, and produce mysterious differences between two strings that look identical. Stripping formatting reduces everything to plain characters, which is the only reliable starting point when text is moving between systems.

Why we built this tool

The everyday case is publishing: pasting a document written in Word into a website and having it inherit the site's typography instead of Word's. Developers hit the other case, where a smart quote copied from a document breaks a snippet of code.

The documents involved are drafts and client work. Stripping formatting is a purely local string operation, so ours performs it in your browser with no request, no storage, and no length limit. It is a small tool, but the reasoning is the same as everywhere else on this site: the browser can already do it, so sending the text to a server would add risk and latency and gain nothing.

Tips and common mistakes

  • Smart quotes and em dashes substituted by autocorrect will break code; strip them before pasting into a source file.
  • Non-breaking spaces are the most common invisible passenger from web and word-processor copies.
  • Paste as plain text in your destination application where the option exists — it saves a round trip.
  • Reapply formatting in the destination so it inherits that system's styles rather than the source's.

Open Remove Formatting with a link

Assistants and scripts can open Remove Formatting with its input already in the link, after the #, which never leaves your device:

  • #text= — the text to work on

Example: https://mygadgets.ink/tools/remove-formatting/#text=... · also compressed gz fields and ?url=. How tool links work

Quick start: using Remove Formatting

  1. Paste your formatted text into the input above.
  2. Run the strip to reduce it to plain characters.
  3. Check that smart quotes, dashes, and special characters became what you wanted.
  4. Re-apply any formatting you actually need in the destination application.
  5. Copy the clean text out.

Follow with Remove Extra Spaces for whitespace, or HTML to Markdown if you want to keep the structure.

Why pasted text carries hidden formatting

When you copy from a formatted source — a website, Word, Google Docs — you copy not just the words but the rich text: the font family, size, color, bold/italic, links, and background. Paste that into an email, a CMS, or a form and the formatting comes too, often looking wrong and sometimes breaking the layout. It also hides invisible characters and inconsistent styling that cause subtle problems later.

What "plain text" gives you

Stripping formatting reduces the content to just the characters — the words, spaces, and line breaks — with no styling attached. That means:

  • It adopts the style of wherever you paste it instead of fighting it.
  • No stray fonts or colors clashing with your document.
  • No hidden links you did not want carried over.
  • No invisible junk characters that cause odd behavior in forms and code.

The everyday scenarios it fixes

  • Pasting into a CMS or email without importing a website's fonts and colors.
  • Cleaning text copied from a PDF or Word doc before reusing it.
  • Removing hyperlinks from copied content in one step.
  • Normalizing mixed-format text assembled from several sources.

The "paste as plain text" habit

Many apps have a "paste without formatting" shortcut, but it is inconsistent and easy to forget, and some places do not offer it at all. Running text through a dedicated stripper guarantees a clean result every time, regardless of where it is going.

Common uses

  • Clean copied web content before reuse.
  • Strip styling from documents.
  • Remove links in bulk.
  • Prepare text for a form or CMS.

Related Document Tools

Browse all Document Tools →