Productokit field guides

Text Formatting & Cleanup Guides

Formatting, conversion, and analysis solve different problems. Choose the output you need first, keep an original copy, and validate the result before replacing a document or configuration file.

Open Text Polisher →

Choose a starting point

  1. Use cleanup and case conversion for prose; use a structured formatter when the input is JSON, XML, CSV, or YAML.
  2. Read the regular-expression guide before replacing repeated patterns across a long document.
  3. Preview Markdown and inspect converted data for changed values, escaping, and delimiters before copying it into another tool.

Suggested reading order

  1. 1. Text Cleaning: Why Copy-Paste Never Works The Way You Want

    Spent 2 hours fixing invisible characters in copied text. Looked identical to the eye. Broke everything. Here is what I learned about text cleaning.

  2. 2. Markdown Basics: How I Stopped Fighting With Word Formatting

    Spent hours fixing Word document formatting. Headers broke. Lists misaligned. Switched to Markdown. Never looked back.

  3. 3. Find and Replace: The Regex Pattern That Saved Me 40 Hours

    Had to update 500 files. Each file had 20 instances to change. Manual editing would take weeks. Learned regex. Done in 10 minutes.

All 5 guides in this topic