Clean up messy whitespace: trim lines, collapse spaces, remove blank lines and line breaks.
Cómo usar Whitespace Remover
Paste text, for example copied from a PDF.
Pick the cleanup options you need.
Copy the tidied result.
Preguntas frecuentes
PDFs store text with fixed line breaks and padding for layout, so copied text often has line breaks mid-sentence and double spaces. This tool removes them.
It replaces runs of multiple spaces or tabs with a single space, without touching line breaks.
It strips every space, tab and line break, leaving one continuous string. It overrides the other options.
A whitespace cleaner for text copied from PDFs, emails and documents, where stray line breaks and double spaces are common.
Combine options to trim lines, collapse repeated spaces, drop blank lines, join everything onto one line, or strip all whitespace entirely.
Herramientas relacionadas
Convert text between UPPERCASE, lowercase, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case.
Count words, characters, lines and sentences in any text.
Compare two texts and highlight the added and removed lines, instantly and in your browser.
Generate placeholder text by paragraphs, sentences or words, with one click.
Usamos cookies esenciales para que el sitio funcione. Con tu consentimiento también cargamos Google AdSense, que establece cookies publicitarias. Consulta nuestra política de privacidad.