Skip to main content

Text & Lists

Whitespace Remover

Remove whitespace from the supplied input. Enter the text, set the transformation rules, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Remove whitespace from the supplied input. Enter the text, set the transformation rules, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Whitespace Remover removes selected spaces, line breaks, tabs, form feeds, carriage returns, and full stops.

abc Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Select each whitespace class to remove.
  3. Keep line feeds when line boundaries carry meaning.
  4. Compare the output with a source copy before saving it.

Example

Input: a b c

Settings: Whitespace Remover: Remove spaces and line feeds; keep full stops disabled.

Result: abc

Limits

  • Whitespace Remover: Removal is class-based and can destroy layout information.
  • Whitespace Remover: Full stops are a separate option and are not removed by space settings.
  • Whitespace Remover: The operation runs in the browser and does not need a network service.