Whitespace Normalizer (Full-width to Half-width, Repeated Space Cleanup)

Clean up full-width spaces, NBSP, TAB, and repeated spaces before you paste or reuse text.

Switch between presets for general text, single-line forms, code-safe spacing, and French no-break space protection.

Your input is processed in this browser only and is never sent to a server.

Normalize whitespace without touching the text itself

This tool targets whitespace only. It helps with Japanese full-width spaces, multilingual no-break spaces, and repeated ASCII spaces while giving you a safer path for code, tables, and logs.

How to use

  1. Paste your text.
  2. Choose a preset or adjust full-width spaces, repeated spaces, and line-break handling.
  3. Run normalization and review the summary and diff.
  4. Copy, download, or send the result back for another pass.

Examples

Clean up Japanese full-width spaces

Input
Company overview  Finite Field, Inc.
Output
Company overview Finite Field, Inc.

Flatten text before pasting into a form

Input
John   Doe\nSenior\tEngineer
Output
John Doe Senior Engineer

Preserve French no-break spaces

Input
Bonjour !  Comment allez-vous ?
Output
Bonjour ! Comment allez-vous ?

FAQ

Is my text uploaded anywhere?

No. Everything runs inside your browser.

Can I convert only full-width spaces?

Yes. Leave the full-width space option on and turn the other cleanup rules off.

I only want to remove repeated spaces.

Turn on repeated-space collapsing. If your content includes code or aligned tables, use the code-safe preset.

Will this break code or aligned tables?

The general preset may compress meaningful spacing. For code, tables, or logs, use the code-safe preset.

Does it handle French no-break spaces?

Yes. The French spacing safe preset keeps protected no-break spaces while cleaning the rest.

Can I remove all line breaks and turn the text into one line?

Yes. Set line-break handling to Flatten to single line and line breaks will be replaced with a single regular space.

Can I share only the settings?

Yes. The shared URL contains settings only, never the input text.

Notes

  • Whitespace may be meaningful in passwords, signatures, tokens, Base64, code, and Markdown tables.
  • If no-break spaces matter in your language or typography rules, use a dedicated preset instead of the general one.
  • The shared URL does not include the text, but anyone with the link can still see the chosen settings.