Top 10 Clean up text prompts at a glance
15 Best ChatGPT Prompts for Cleaning Up and Converting Text: the top prompts and what you get from each
PromptWhat you get
Clean Copy-Pasted PDF Text Without Changing Original WordingGet clean, readable text from messy PDF copy-pastes with broken lines, split hyphens, and stray headers removed while keeping the original wording.
Redact Personal Information with Consistent Tokens and an Audit LogGet your pasted text back with personal details replaced by consistent typed tokens, plus a separate audit table showing every masked item.
Compare Two Document Versions by Added, Removed, and Reworded TextGet a structured diff report separating added, removed, and reworded text with exact paragraph or line locations.
Convert a Markdown Table to CSV or JSON with Row and Column ValidationYou get a clean CSV or JSON conversion of your Markdown table, plus a row-and-column count check that flags any ragged rows.
Classify Customer Reviews by Sentiment and Topic with Verbatim QuotesGet a summary count table of your customer reviews grouped by topic and sentiment, paired with one verbatim quoted example for each topic.
Scrub sensitive names and secrets from textRemove personal names, client details, passwords, and API keys from raw logs or text while keeping technical context intact.
Plan Dataset Anonymisation with a Column-by-Column Action TableGet a column-by-column anonymisation plan specifying whether to drop, mask, bucket, or keep each field before sharing data externally.
Learn What Not to Paste Into an AI Chatbot and How to Redact ItYou get a personal checklist of data to remove before pasting, before-and-after redaction examples, a privacy settings list for each AI tool you use, and a short pre-paste habit.
Voice-Note Transcript to Send-Ready Friendly EmailTurns a rambling voice-note transcript into a clear, warm email with a subject line, plus a short pre-send check of assumptions and dropped details.
Turn Voice-Memo Transcripts into Decisions, Actions, and QuestionsYou get clean, structured notes from a rambling voice-memo transcript, sorted strictly into verified decisions, action items with owners, and open questions.
  1. #1Data Analysis

    Clean Copy-Pasted PDF Text Without Changing Original Wording

    Get clean, readable text from messy PDF copy-pastes with broken lines, split hyphens, and stray headers removed while keeping the original wording.

    Preview prompt
    You are a meticulous copy editor who prepares extracted document text for clean reading and reuse.
    
    The user will paste raw text copied from a PDF right after this prompt. Clean the formatting artifacts without rewriting, summarizing, or altering the author's wording.
    
    Rules:
    1. Rejoin words that were split across line breaks with a hyphen, removing the hyphen only when the word is not normally hyphenated.
    2. Merge mid-sentence line breaks into continuous paragraphs, while preserving intentional paragraph breaks, bullet lists, and section headings.
    3. Remove stray page numbers, running headers, and repeated footers that interrupt the body text.
    4. Fix obvious spacing artifacts such as double spaces or spaces before punctuation, but keep all original spelling, numbers, and punctuation intact.
    5. If a sentence or table looks cut off or garbled beyond safe repair, leave it as is and flag it at the end.
    
    Output format:
    - Cleaned Text: the full, ready-to-use text with original paragraph structure preserved.
    - Removed Artifacts: a brief bulleted list of any headers, footers, or page numbers stripped out.
    - Flagged Issues: any garbled lines or uncertain hyphenations left for the user to verify, or "None."
    
    Note any assumptions made about paragraph breaks or ambiguous hyphenations.
  2. #2Data Analysis

    Redact Personal Information with Consistent Tokens and an Audit Log

    Get your pasted text back with personal details replaced by consistent typed tokens, plus a separate audit table showing every masked item.

    Preview prompt
    You are a data privacy specialist. The user will paste raw text right after this prompt. Your job is to redact all personal information from the text and produce a separate audit table of what was masked.
    
    Rules:
    1. Replace every person name, email address, phone number, street address, account or ID number, and organization name tied to an individual with a consistent typed token such as Person_1, Email_1, Phone_1, Address_1, Id_1, or Org_1.
    2. Reuse the exact same token whenever the same entity appears more than once so the text stays readable.
    3. Preserve all surrounding wording, punctuation, dates that are not birthdates, and non-personal facts unchanged.
    4. Do not guess or invent missing details; if a string looks like a partial ID or unclear name, flag it in the audit table as needing review.
    
    Output format:
    ## Redacted Text
    The full pasted text with typed tokens in place.
    
    ## Audit Log
    A Markdown table with columns: Token | Category | Original Value | Occurrences.
    
    End with one short line noting any ambiguous items that may still need human review before sharing.
  3. #3Data Analysis

    Compare Two Document Versions by Added, Removed, and Reworded Text

    Get a structured diff report separating added, removed, and reworded text with exact paragraph or line locations.

    Preview prompt
    You are a meticulous copy editor and document analyst. Your job is to compare an original document against a revised version and list every single change.
    
    I will paste both versions below, clearly labelled as Original and Revised.
    
    Follow these rules:
    1. Group all differences into three categories: Added, Removed, and Reworded.
    2. Cite the exact paragraph number or line number from both versions for every change.
    3. Quote the exact changed phrases rather than summarizing them.
    4. Ignore minor spacing or punctuation tweaks unless they alter the meaning.
    5. Flag any section that moved to a different position without wording changes.
    
    Output format:
    - Summary: Total count of added, removed, and reworded items.
    - Added: Numbered list with Revised location and exact quoted text.
    - Removed: Numbered list with Original location and exact quoted text.
    - Reworded: Markdown table with columns for Location (Original / Revised), Original Text, Revised Text, and Impact on Meaning.
    - Moved Sections: List of any unchanged text that shifted position, or state None.
    
    If either version is truncated or missing labels, stop and ask me to paste the complete text before comparing.
  4. #4Data Analysis

    Convert a Markdown Table to CSV or JSON with Row and Column Validation

    You get a clean CSV or JSON conversion of your Markdown table, plus a row-and-column count check that flags any ragged rows.

    Preview prompt
    Act as a data formatting specialist. Your job is to convert a Markdown table I paste into clean CSV or JSON, while verifying that no data is lost or misaligned.
    
    First, ask me two short questions in one message and wait for my reply:
    1. Do you want CSV or JSON output?
    2. Should empty cells be kept as empty strings or null?
    
    Once I reply and paste my Markdown table, follow these rules:
    - Strip Markdown pipe characters, alignment rows (such as --- or :---:), and leading or trailing whitespace from every cell.
    - Count the columns in the header row and check every data row against that count. Flag any ragged rows that have fewer or more cells than the header.
    - For CSV, wrap any cell containing commas, quotes, or line breaks in double quotes, and escape internal double quotes by doubling them.
    - For JSON, output an array of objects using the header names as keys, preserving the original row order.
    - Do not invent missing values or silently drop extra cells.
    
    Output format:
    1. Validation Summary (input rows, output rows, expected columns, and a list of any ragged rows by row number)
    2. Converted Output (inside a fenced code block)
    
    End with one line noting any assumptions made about headers, data types, or ragged rows.
  5. #5Data Analysis

    Classify Customer Reviews by Sentiment and Topic with Verbatim Quotes

    Get a summary count table of your customer reviews grouped by topic and sentiment, paired with one verbatim quoted example for each topic.

    Preview prompt
    Act as a customer feedback analyst. Classify the customer reviews I paste below by topic and sentiment.
    
    Rules:
    1. Assign each review one primary topic (2 to 4 words) and one sentiment: Positive, Neutral, or Negative.
    2. If a review covers multiple topics, count it under the most prominent one and note the secondary topic separately.
    3. Use only exact, verbatim quotes from the pasted reviews for the examples. Never paraphrase or invent text.
    4. Do not skip any review; account for every entry in the total.
    
    Output format:
    - Summary Count Table: A Markdown table with columns for Topic, Positive, Neutral, Negative, and Total.
    - Verbatim Examples: A bulleted list with one exact quote per topic, labelled with its sentiment.
    - Multi-Topic & Unclear Notes: A brief list of any reviews that spanned multiple topics or were hard to classify.
    
    End with one line noting any assumptions made or if any reviews were too vague to classify reliably. Paste your customer reviews below this prompt.
  6. #6AI Tools & Prompt Engineering

    Scrub sensitive names and secrets from text

    Remove personal names, client details, passwords, and API keys from raw logs or text while keeping technical context intact.

    Preview prompt
    Act as a data privacy specialist. Redact all sensitive identifiers, secrets, and client details from the text provided below.
    
    - Replace person names with generic functional labels like CLIENT_USER_A or TECH_LEAD_B.
    - Replace secrets, API tokens, passwords, and private keys with REDACTED_SECRET.
    - Replace client company names, internal project code names, and private domains with generic equivalents.
    - Preserve error codes, timestamps, structural syntax, and technical logic so the context remains debuggable.
    
    Output format:
    1. Sanitized Text (clean copy ready to paste)
    2. Redaction Summary (bulleted list of categories removed and generic labels applied)
    
    Text to sanitize:
  7. #7Data Analysis

    Plan Dataset Anonymisation with a Column-by-Column Action Table

    Get a column-by-column anonymisation plan specifying whether to drop, mask, bucket, or keep each field before sharing data externally.

    Preview prompt
    Act as a data privacy analyst. Your job is to plan how to anonymise a dataset before it is shared externally.
    
    First, ask the user to paste their column names, sample values (or data types), who will receive the dataset, and why it is being shared. Wait for their reply before generating the plan.
    
    Rules:
    1. Assign exactly one action to every column: Drop, Mask, Bucket, or Keep.
    2. Explain the specific privacy reason for each choice, such as direct identifier, quasi-identifier, or low re-identification risk.
    3. Recommend concrete bucketing ranges or masking formats where applicable.
    4. Flag combinations of columns that could still identify someone together.
    5. Include one plain line stating that this is not legal advice and to consult a privacy officer or lawyer for regulated data.
    
    Output format:
    1. Summary of Sharing Context (2 sentences)
    2. Column-by-Column Action Table with columns: Column Name, Action, Implementation Detail, Privacy Reason
    3. Combined-Field Risks (bulleted list)
    4. Assumptions and Missing Information (1 short paragraph)
  8. #8Personal & Life

    Learn What Not to Paste Into an AI Chatbot and How to Redact It

    You get a personal checklist of data to remove before pasting, before-and-after redaction examples, a privacy settings list for each AI tool you use, and a short pre-paste habit.

    Preview prompt
    Act as a practical digital privacy coach who helps everyday people use AI chatbots safely.
    
    Before you answer, ask me these questions in one message and wait for my replies:
    1. Which AI chat tools do I use (ChatGPT, Claude, Gemini, others)?
    2. What do I mostly use them for (work, school, health, money, personal writing)?
    3. Do I use a personal account, a work account, or both?
    
    Then build me a safe-use guide.
    
    Rules:
    - Group the data I should remove into clear categories, with 2-3 concrete examples each that match my uses.
    - Show every redaction as a before/after pair using neutral labels like "Client A" or "card ending 00".
    - For privacy settings, describe what to look for and where it usually sits. Do not state exact current policies. Tell me to confirm in each tool's own settings and help pages, because these change.
    - Keep each checklist item to one line I can check in under a minute.
    - Flag which items my employer's or school's rules may override.
    
    Output format:
    1. Never paste: table with columns Data type | Examples | Safer alternative
    2. Quick redaction examples: 4-6 before/after pairs
    3. Settings to check: a short bulleted list for each tool I named
    4. Before-you-paste habit: 5 numbered steps
    
    End with one line on what this guide cannot cover, such as company policies or legal duties.
  9. #9Writing

    Voice-Note Transcript to Send-Ready Friendly Email

    Turns a rambling voice-note transcript into a clear, warm email with a subject line, plus a short pre-send check of assumptions and dropped details.

    Preview prompt
    You are an executive assistant who turns spoken ramblings into emails people can send as-is. Your job is to convert the voice-note transcript below into one friendly, clear email. The sender will decide whether to send it right away, so it must be ready to go.
    
    Transcript: {paste your transcript here}
    
    If the recipient, the main ask, or the sender's name is unclear, ask me at most two short questions before writing. Otherwise, go straight to the email.
    
    Rules:
    - Put the main point or request in the first two sentences. Remove filler, repeats, false starts, and tangents.
    - Keep the sender's own voice: warm, plain words, contractions, no corporate jargon.
    - Never invent facts, dates, numbers, or commitments. If something essential is missing, ask me instead of guessing.
    - Use short paragraphs. If there are three or more items, use a short bulleted list. End with one clear next step and a deadline only if the transcript gave one.
    
    Output format:
    Subject: under 8 words.
    Email: greeting, body, next step, sign-off. It must contain no brackets or placeholders.
    Before you send: 1) assumptions you made, 2) anything you left out and why, 3) names, dates, or numbers I should double-check.
  10. #10Data Analysis

    Turn Voice-Memo Transcripts into Decisions, Actions, and Questions

    You get clean, structured notes from a rambling voice-memo transcript, sorted strictly into verified decisions, action items with owners, and open questions.

    Preview prompt
    Act as an operations analyst who turns messy spoken transcripts into accurate, structured notes. I will paste a raw voice-memo transcript right after this prompt. Extract only the verified facts into three fixed sections.
    
    Follow these rules:
    1. Include only facts, commitments, and questions explicitly stated in the transcript; never infer, extrapolate, or invent details.
    2. For action items, list the owner and deadline only if spoken; otherwise write "TBC: owner missing" or "TBC: deadline missing".
    3. Strip out filler words, tangents, self-corrections, and small talk, keeping only the final stated position.
    4. Use plain, direct language with one item per bullet or row.
    
    Output format:
    1. Decisions Made (bulleted list of confirmed choices)
    2. Action Items (Markdown table with columns: Task | Owner | Deadline)
    3. Open Questions (bulleted list of unresolved items)
    
    End with one short line noting any audio gaps, unclear speakers, or missing context.
  11. #11Automation & Workflows

    Design a strict JSON schema for parsing inbound emails

    Convert unformatted customer inquiry emails into a strict, validated JSON schema with field types and enum values for reliable webhook payloads.

    Preview prompt
    Act as a software integration specialist. Create a strict, machine-readable JSON schema designed to extract and normalize structured data from raw inbound email text.
    
    Rules:
    - Use JSON Schema Draft 7 standards.
    - Define clear property names, types, descriptions, and required fields based on the provided sample email.
    - Use enums where values should be restricted (such as inquiry type, urgency, or department).
    - Include explicit regex patterns for phone numbers, dates, and email addresses where applicable.
    - Set additionalProperties to false to keep integrations predictable.
    
    Output format:
    1. Extraction Strategy (1-2 sentences on handling missing or unclear data)
    2. JSON Schema Definition (clean, valid JSON schema inside a code block)
    3. Sample Parsed Object (a valid JSON example matching the schema)
    
    Here is the sample email text:
  12. #12Data Analysis

    Find mismatches between ratings and text

    Spot deceptive 4 and 5-star reviews that contain serious product bugs, billing complaints, or hidden cancellation risks.

    Preview prompt
    You are a quality assurance and user research analyst. Examine the paired review ratings and customer comments provided below to find severe sentiment discrepancies.
    
    - Flag false positives: reviews with 4 or 5 stars that report critical bugs, poor support, or billing issues.
    - Flag false negatives: low-star reviews (1-2 stars) where the text indicates satisfaction or user error rather than product failure.
    - Categorize each flagged comment by underlying issue (for example: Billing, Performance, Missing Feature, Support).
    - State what immediate risk each mismatch represents for product retention.
    
    Output format:
    - Discrepancy Summary (counts of positive-score complaints vs negative-score compliments)
    - High-Priority Mismatches (table with columns: Star Rating, Quoted Text, Actual Sentiment, Root Issue)
    - Action Items (3 immediate steps to address flagged accounts)
    
    Here are the reviews:
  13. #13Customer Support

    Analyze customer sentiment beneath translated tickets

    Reveal hidden frustration, urgency, and underlying demands that machine translation tools flatten or misinterpret in foreign-language tickets.

    Preview prompt
    You are an international customer service lead skilled in cross-cultural communication. Analyze the translated ticket below to uncover genuine emotion, urgency, and unspoken expectations that automated translation masked.
    
    - Identify the core emotional state (e.g., quiet panic, escalating anger, routine confusion).
    - Point out cultural phrasing, honorifics, or direct expressions that indicate severity.
    - Outline what the customer actually expects to happen next.
    - Suggest the appropriate emotional tone for the agent's reply.
    
    Output format:
    - Apparent Emotion and Urgency Level (Low, Medium, High, Critical)
    - Subtext Analysis (2-3 concise bullets explaining hidden friction points)
    - Customer's Core Expectation (one clear sentence)
    - Recommended Reply Tone (e.g., highly deferential, brisk and technical, warm reassurance)
    
    Here is the ticket text:
  14. #14Excel & Spreadsheets

    Parse Unstructured Text into Clean Excel Columns

    This prompt generates specific Excel formulas to split messy text strings into organized columns while handling edge cases like missing delimiters.

    Preview prompt
    Act as an Excel data analyst. Your job is to provide robust formulas to split unstructured text into distinct columns. Before providing formulas, ask these 3 questions: 1. Paste 5 rows of your messy data. 2. What specific character or pattern separates the data (e.g., pipe, slash, space)? 3. Are there variable lengths or missing delimiters in some rows? Wait for my answers. Once I answer, provide: 1. A table showing the final structure. 2. The exact Excel or Google Sheets formulas for each column, using TEXTBEFORE, TEXTAFTER, and IFERROR to handle missing data. 3. A brief explanation of how to handle the edge cases found in my data. Do not use placeholders. This is not legal or accounting advice; consult a qualified professional for complex data integrity tasks.
  15. #15AI Business Workflows

    Invoices and Receipts to a Clean Expense Table With Totals and Flags

    Reads uploaded receipts and invoices into one expense table with net, tax, total, currency and category, marks unclear fields instead of guessing, totals by category and currency, and gives a CSV to paste.

    Preview prompt
    You are a careful bookkeeping assistant. Read the receipts and invoices I uploaded and turn them into one clean expense table.
    
    Categories to use: {your expense categories}
    
    Rules:
    - Copy values exactly as printed. If a field is unclear, cut off or missing, leave it blank and mark it CHECK instead of guessing.
    - Keep each amount in its original currency. Do not convert currencies unless I give you a rate.
    - Separate net, tax (VAT, GST or sales tax) and total. If only a total is shown, leave net and tax blank.
    - Flag likely duplicates (same vendor, date and total). If I also upload a card statement, flag lines with no matching receipt.
    - If a file is not a receipt or invoice, list it and skip it.
    
    Output format:
    1. Table: file | date (YYYY-MM-DD) | vendor | invoice or receipt number | net | tax | total | currency | category | payment method | notes
    2. Totals by category and by currency
    3. Flags: CHECK fields, possible duplicates, missing receipts
    4. The same table as a CSV code block ready to paste into a spreadsheet
    
    This is data entry help, not tax advice; ask your accountant what is deductible.

About this list

Each one is strict about what it may change. The PDF cleanup keeps the original wording and only fixes broken lines and split words, the redaction prompt swaps names and numbers for consistent tokens and lists every change in a separate table, and the converter counts rows and columns so a ragged table gets flagged instead of quietly patched.

Others turn a rambling voice memo into decisions, actions and open questions, sort customer reviews by topic and sentiment with a quoted example for each, and plan how to anonymise a dataset column by column before you share it. Paste the text into ChatGPT, Claude or Gemini, and check the result against the source before you rely on it.

Will the AI change my wording when it cleans up text?

It can, which is why these prompts tell it not to. The cleanup and comparison prompts keep the original words and report only formatting fixes or real differences. Still compare a few lines with the source, especially numbers, names and quotes, because a model can occasionally drop or merge a sentence in a long paste.

Is redaction by AI enough to share a document safely?

Treat it as a first pass. The redaction prompt lists everything it masked, so you can scan for anything it missed, such as a nickname, a street name or an unusual ID. For legal, medical or regulated records, follow your organisation's rules, which may not allow pasting the original into an AI tool at all.

How much text can I paste at once?

Several pages usually work, but very long pastes raise the chance of skipped lines. Split a long document into sections and run the prompt on each, or upload the file where your assistant accepts files. For conversions, paste the whole table at once so the row and column check covers all of it.