Switch to English?

Switching reopens this page. Unsubmitted files, edits and browser processing results will not move to the other domain.

Submitted server tasks remain accessible. Files keep their original deletion deadlines.
Destination website:

Whitespace Converter

Convert spaces, tabs and newlines, or clean whitespace line by line.

Improve this tool
TEXT · NUMBERS · WORKSPACE

Whitespace Converter

Space conversions use ordinary spaces. Remove-all also removes tabs, newlines and full-width spaces. Spaces-to-tabs replaces fixed-size groups and preserves remainders.

Everything runs in this browser; input and output are not uploaded.

Processed content stays in this page’s memory and cannot be recovered after clearing or closing.

About this tool

Convert newlines to spaces, space runs to newlines, spaces to tabs or tabs to spaces, remove all whitespace, trim lines or remove blank lines. Space conversions target ordinary spaces; remove-all also removes newlines, tabs and full-width spaces. Input and TXT results are processed in a browser Worker, and editing clears stale output.

How to use

  1. Paste text and decide which line breaks and indentation to preserve.
  2. Choose the operation; set spaces per tab when converting between spaces and tabs.
  3. Process, check line structure and whitespace, then copy or download TXT.

Frequently asked questions

Are leftover spaces removed when converting to tabs?

No. Fixed-size groups of ordinary spaces are replaced; remainders are preserved.

Does remove-all delete line breaks?

Yes, along with tabs and full-width spaces. Choose blank-line removal if you need to preserve other line breaks.

COMMUNITY

Discussion & comments

Share your experience and discover more ways to use this tool.

Loading comments…