Dokkaebi Tools
English

Text Cleaner

Fix the broken line breaks and stray spaces in text copied from a PDF or web page. Counts characters too.

0 chars
Options
Join line breaks
Rules
Review
Cleaned textLive

Nothing here yet.

Paste text and it is cleaned right away.

How to use

  1. 01Paste text into the input. The cleaned text appears as soon as you paste.
  2. 02Read the summary at the top and turn off any rule you do not want under Options. Turn on "Show changes" to see where lines were joined.
  3. 03[Copy] the result or use [Download text file].

If it does not work

Result looks wrong?

  1. Set line joining to "Off" under Options.
  2. Turn on "Show changes" to see where lines were joined.
  3. Turn the rules off one at a time to find which one is responsible.

FAQ

Why are lines joined? Why do sentence ends stay?

Copying from a PDF brings along line breaks that only existed to fit the page width. By default, only breaks in the middle of a sentence are joined; lines ending with a period or question mark, and paragraphs separated by a blank line, are left alone.

What about lists and numbered lines?

Lines starting with markers like "-", "1." or "a." are not joined. For poems or addresses with many short lines, set line joining to "Off".

How are characters counted?

Based on the cleaned text, it shows the total count and the count without spaces and line breaks. Useful for checking a length limit.

I want to undo it.

The original in the input is not changed. Turning a rule off under Options restores the result immediately, and "Show changes" marks where lines were joined.

About this tool

A tool that cleans up unwanted line breaks, repeated spaces and invisible characters in text copied from PDFs, web pages and chats, so it pastes cleanly elsewhere. It shows what changed, and each rule can be switched on or off.

Updated

Related tools