Unicode reference

Unicode Whitespace Characters

Compare regular spaces, no-break spaces, tabs, typographic spaces, line separators, and zero-width format controls. Includes code points, visible behavior, and safe diagnostic steps.

Copy-and-paste workflow

Clean Text Copied from a PDF

Diagnose hard line breaks, repeated spaces, hidden no-break characters, hyphenation, and reading-order problems before choosing a transformation.

NBSP explained

Non Breaking Space

Understand U+00A0, HTML  , no-break behavior, related spacing characters, and when conversion is safer than deletion.

Extra space cleanup

Remove Extra Spaces

Collapse repeated spaces, stray tabs, and hidden Unicode spacing into one regular space without joining words or losing line breaks.

HTML whitespace workflow

Remove HTML Spaces Online

Separate visible text cleanup from HTML source indentation,  , CSS white-space behavior, and code-aware minification.

URL whitespace guide

Remove Spaces from Link

Learn when a link space should become %20, when a plus sign applies, and why direct deletion can change the destination.

Character reference

Whitespace Character Reference

Code points, width, wrap behavior, sources, and detection steps for every horizontal space, tab, line ending, and zero-width control.

Method comparison

Browser Tool vs Code Methods

When to paste into a tool and when to script cleanup, with the exact whitespace that Python, JavaScript, sed, and spreadsheet TRIM each match.

Data workflow

Whitespace in Data Cleaning

How stray spaces, NBSP, and hidden line breaks break CSV parsing, keys, and joins, and a safe order for cleaning tabular text.

How the guides are organized

The guides fall into three groups. Character explainers such as the character reference, Unicode whitespace, and non-breaking space describe what a specific code point does. Workflow guides such as cleaning PDF text, removing extra spaces, HTML spaces, and spaces in links walk through a task from diagnosis to result. Audience guides such as tool versus code and data cleaning address a particular kind of user. Most cleanup questions are answered by one guide from the first group and one from the second.

Why a guide is needed before some transformations

Whitespace is not a single character. A visible gap may be a regular space, a no-break space, a tab, or one of several typographic spaces. An invisible code point may control joining or wrapping. A PDF may not store paragraphs in the same order that a person sees them. Applying a broad replacement without identifying the cause can join words, destroy indentation, or change multilingual text.

A safe cleanup sequence

  1. Keep a copy of the original text.
  2. Determine whether the problem is horizontal spacing, line structure, or invisible format characters.
  3. Use the narrowest tool that targets the identified character or structure.
  4. Review live counts and compare the processed result with the source.
  5. For code, tables, Markdown, or multilingual writing, verify that meaningful formatting remains.

Tools referenced by the guides

The tool directory links to character-specific and line-specific utilities. They run in browser JavaScript and explain their transformation boundaries. The guides do not promise that one automatic mode is correct for every document; instead, they provide examples that help you choose deliberately.