How to Remove Quotation Marks from Text Online

How to Remove Quotation Marks from Text Online

How to remove quotation marks from text online: strip ” and ‘ marks from pasted text in your browser, without breaking code strings, CSV fields or apostrophes.

How to Remove Quotation Marks from Text Online

Paste your text into a quotation-mark remover, choose whether every quote mark goes or only the ones wrapping each line, and the marks come out while the words stay put. “Hello” becomes Hello — the word survives, the marks do not. The rest is knowing which ” is a quotation mark and which one is doing a different job: a quote mark can be punctuation, a string delimiter, a CSV wrapper or an apostrophe in disguise, and each needs different treatment.

A quotation mark shows where quoted words start and end, and marks words being mentioned rather than used — a title, a nickname, a phrase someone else said. “Call me ‘Ace'” is not the same as Call me Ace: the marks tell you Ace is a name someone gave him. The marks are easy to strip; the hard part is deciding which ones are doing real work and which are clutter. A spreadsheet export where every cell arrives wrapped in quotes is clutter. A line of code with ” in it is not.

Key takeaways

  • A quotation mark is not one character — straight “, straight ‘, curly “ ” ‘ ’, guillemets « » and primes ′ ″ all count, and most tools handle only some of them.
  • Pick the mode first: delete all, surrounding only, straight only, curly-to-straight, double only, or keep only.
  • A ” in code is a string delimiter, not punctuation.
  • A ‘ inside don’t or it’s is an apostrophe, not a quotation mark.
  • In a CSV file, quotes wrap fields with commas; strip them and the columns fall apart.
  • After removal, check for double spaces.

What counts as a quotation mark?

The ordinary quotation mark is the straight double quote, “, the one at each end of “Hello”. Most removers match exactly that character — fine for plain text, wrong for the edges.

The first edge case is the curly quote. Word, Google Docs and most phones replace straight quotes with curly ones as you type, so text copied from a document is full of “ and ”. They are the typographic form of the same mark, but a tool built for ” cannot see them. The same goes for curly single quotes, ‘ and ’, used for quoted phrases inside double quotes.

The second edge case is the foreign variant. French and Russian use guillemets, « », in place of double quotes, and German text uses low quotes, „ “. A remover built for English quotes misses both, so check which marks your text actually contains before choosing a tool.

The third is the prime mark: a single prime, ′, marks feet and minutes, and a double prime, ″, marks inches and seconds. They look like straight quotes, and most tools treat them as one — so 5’10” for a height becomes 510 if you delete every ‘ and ” without checking.

What is not a quotation mark matters just as much. The ‘ in don’t, it’s and we’re is an apostrophe, sharing a glyph with the closing single quote, ’ — a tool that removes all single quotes turns don’t into dont. A backtick, `, is sometimes used as a quote in old documentation, but a quote remover will not touch it.

Choose the mode before you paste anything

Most removers offer more than one operation, and the same text gives a different result under each one — pick first, paste second.

ModeWhat it doesUse it when
Delete all quotation marksEvery ” and ‘ is removed, wherever it sitsCleaning a spreadsheet export or quoted values
Surrounding quotes onlyOnly quotes wrapping each lineA list of quoted lines that also has quotes inside them
Straight quotes onlyRemoves ” and ‘, leaves curly quotes aloneCode or data with straight quotes only
Convert curly to straight“ ” become “, ‘ ’ become ‘Word or Docs text that needs straight quotes
Double quotes onlyRemoves “, leaves ‘ aloneKeeping apostrophes while stripping quote marks
Keep only quotation marksDeletes everything except ” and ‘ Counting marks, or pulling quoted phrases out

Delete-all is the default, and it is right when the whole block is quoted values. Surrounding-only is safer for mixed text — a list of quoted lines that also contains dialogue or apostrophes — because it leaves the marks inside each line alone. If you are unsure, run surrounding-only first — you can always run delete-all afterwards, but you cannot un-delete a ” from a line of code. Convert-curly-to-straight is for pasted Word text full of “ ” that a database or code editor will not accept, where the fix is straight quotes, not no quotes at all.

How to remove quotation marks from text online

Paste your text into the input box — a paragraph, a whole page, a column copied from a spreadsheet, all at once.

Pick the mode from the table above. On a generic punctuation remover this means switching on the quotation-mark toggle and switching the others off — fine as long as you control which marks it strips. If the tool only offers delete-all, use it only on text you have already checked for code, CSV fields and apostrophes. Check which kind of quotes your text actually has first: paste a short sample and look at the preview. If the text has curly quotes and the tool only lists straight ones, nothing will happen — pick a tool that lists curly quotes, or run convert-curly-to-straight first.

Run it, then read the output before you copy it anywhere. This is the step people skip, and it catches the problems: a line of code that lost its quotes, a don’t that became dont, a CSV row that gained an extra column. Copy the result — most tools have a copy button — and paste it where it belongs. Keep the original until you are sure the cleaned version reads properly. Nothing is uploaded; the work happens in your browser, so a confidential draft stays on your own machine.

The five traps most guides skip

A quotation mark has five jobs that have nothing to do with quoting speech, and each breaks if you strip the mark.

The first trap is code. In programming, quotes are string delimiters — they mark where a piece of text starts and ends — not punctuation. MDN’s documentation for JavaScript strings puts it plainly: string literals can be specified using single or double quotes, which are treated identically. So const name = “Ada” holds the text Ada, and removing the quotes gives const name = Ada — an error, or worse, code that runs but means something different. Never run a quotation-mark remover over code — pull the code out first, clean the prose, and put it back.

The second trap is CSV files. In a comma-separated file, a field containing a comma is wrapped in double quotes so the comma inside it is not read as a column break: “Smith, John”,42 is two columns, a name and a number. Strip the quotes and it becomes Smith, John,42 — three columns. A doubled quote inside a quoted field, “”like this””, means a literal quote character, and a delete-all pass erases it. If your text is CSV data, do not clean it as prose — open it in a spreadsheet, or use a CSV-aware tool.

The third trap is the apostrophe. Don’t, it’s, we’re, the dog’s — the ‘ in each is an apostrophe, doing the work of a missing letter or a possessive, and it shares a glyph with the closing single quote. A tool that removes all single quotes cannot tell them apart, so don’t becomes dont. The safe move is double-quotes-only mode, which leaves every ‘ alone, or a tool with separate toggles for ” and ‘.

The fourth trap is nested quotes. Dialogue inside dialogue uses two levels: She said, “He told me ‘wait’.” — the outer quotes mark what she said, the inner ones what he said. Delete-all removes both levels, and the reader can no longer tell who said what. Surrounding-only keeps the inner quotes. If the nesting matters — an interview transcript, a court quote, a piece of fiction — leave the quotes in and clean around them instead.

The fifth trap is the invisible quote. Text pasted from Word, Google Docs, Slack or a PDF is full of curly quotes, and most simple removers only match straight ” and ‘. The tool runs, reports nothing found, and the text looks unchanged — because it was looking for the wrong character. The fix is a tool that lists curly quotes, or a convert-curly-to-straight pass first.

What happens to the spaces left behind

Removing a quotation mark does not remove the space around it. He wrote ” hello ” with a space inside each quote becomes He wrote hello with two spaces on each side — the spaces that sat inside the quotes are still there. A find-and-replace for double spaces catches that.

Empty quotes leave a different trace: “” is often a placeholder for a missing value in exported data, and “Yes””No” with no space between the quoted values becomes YesNo, two words fused into one. Read the output line by line: the marks are gone, but the spacing they were hiding behind is still yours to fix.

Removing quotation marks in Word, Google Docs and Excel

If the text already lives in a document or a spreadsheet, the app you are already in can do the job — with a quirk each.

In Word, use Find and Replace (Ctrl+H): type ” in Find, nothing in Replace, and click Replace All. One thing matters: Word’s AutoCorrect turns straight quotes into curly ones as you type, so a document written in Word is full of “ and ”, not “. Typing ” into Find will not match them — copy a “ from the document itself and paste it into Find, then do the same for ”.

Google Docs has Find and Replace under Edit, with a regular-expression option. With that on, [““”] matches a straight double quote and both curly double quotes at once, and replacing it with nothing deletes all three; [‘‘’] does the same for single quotes. The same route handles surrounding-only: ^[““”]|[““”]$ removes a quote only at the start or end of a line.

Excel is the simplest of the three for cells. The formula =SUBSTITUTE(A1,CHAR(34),””) returns A1 with every straight double quote removed — CHAR(34) is the code for ” — copy it down the column, then paste the results as values over the originals. Curly quotes need a second SUBSTITUTE with the actual “ pasted in. For a one-off clean, Find and Replace (Ctrl+H) does the same across a selection — but take care with CSV-style cells.

Notepad++ and VS Code both have regex find-and-replace, and [““”] is the pattern in both: VS Code’s editor search accepts it in regex mode, and Notepad++ needs “Regular expression” selected in the Replace dialog. Both handle surrounding-only with ^[““”]|[““”]$ — the better choice when the text is code-adjacent.

One-liners for repeat jobs

If you clean quotation marks weekly, a one-liner beats opening a tool every time.

In Python, re.sub(r'[“\’]’, ”, text) removes every straight double and single quote (the backslash tells the regex engine to treat the quote literally). For curly quotes too, re.sub(r'[“\’“”‘’]’, ”, text) adds all four curly variants; for surrounding quotes only, re.sub(r’^[““”]|[““”]$’, ”, text, flags=re.MULTILINE) removes a quote only at the start or end of each line.

In JavaScript, text.replace(/[“‘]/g, ”) does the same job — the g flag replaces every occurrence — and text.replace(/[““”‘’]/g, ”) covers the curly variants. Both assume the text has already had its code, CSV fields and apostrophes pulled out.

When to keep the quotation marks

Not every block of text is better without its quotation marks — in a few places the marks are doing real work.

Keep them in anything read as a conversation: interview transcripts, chat logs, customer messages, quoted speech. The ” is what marks a line as something someone said; without it, the reader has to work out from context whether a sentence is a quote or the writer’s own words. A support ticket saying the customer asked for a refund reads as a fact; the customer asked for a “refund” reads as a quote.

Keep them in data, too. A CSV export is better cleaned at the reporting stage than at the source — remove the marks in the copy you publish, not in the file you keep. And keep them anywhere the ” is structural: code, CSV fields, heights like 5’10”. If the text is mostly quotations — a list of headlines, a set of testimonials — removing the marks does not clean the text, it flattens it. Leave them in.

Frequently asked questions

Can I remove only the quotation marks around each line, not the ones inside?

Yes — that is the surrounding-only mode. It removes a quote only when it sits at the start or end of a line and leaves the marks inside the line alone; in a regex tool the pattern is ^[““”]|[““”]$ in most flavours. Use it for quoted values that also contain dialogue or apostrophes.

Will removing quotation marks break code in my text?

It will if the tool removes every ” it finds. In code, quotes are string delimiters — const name = “Ada” needs its quotes to mean anything — and deleting them turns working code into an error. Pull the code blocks out before cleaning, or use surrounding-only mode on the prose.

The same rule applies to removing special characters and removing punctuation: check what each mark is doing before you delete it.

How do I remove quotation marks in Word all at once?

Open Find and Replace with Ctrl+H, type ” in the Find box, leave Replace empty, and click Replace All. If your document was written in Word, the quotes are probably curly, so ” will not match them — copy a “ from the document into Find, then do the same for ”.

Why does the tool say no quotes found when my text is full of curly quotes?

Because the tool looks for straight quotes and your text has curly ones. Word, Google Docs and phones replace ” with “ and ” as you type, and a remover built for ” alone cannot see them. Use a tool that lists curly quotes, or run a convert-curly-to-straight pass first.

How do I remove quotation marks but keep apostrophes in don’t and it’s?

Remove double quotes only. The apostrophe in don’t is a single quote, so a mode that strips ” and “ ” but leaves ‘ and ’ alone keeps every contraction intact. On a generic punctuation remover, switch on the double-quote toggle and leave the single-quote toggle off.