# List Formatting > Use list formatting to clean list text. Remove punctuation from a list, remove empty rows, or remove double spaces, then review the replacement count. u003cpu003eThis u003cstrongu003elist formattingu003c/strongu003e tool removes specified symbols and lets you clean blank rows, commas, and repeated spaces. It helps prepare copied labels and simple text lists for reuse.u003c/pu003e ## Overview & Metadata - **Canonical URL:** https://million.tools/list-formatter/ - **Markdown Copy (.md.txt):** https://million.tools/list-formatter.md.txt - **Plain Text Copy (.txt):** https://million.tools/list-formatter.txt - **API Endpoint:** https://million.tools/api/v1/run/list-formatter (POST, Keyless, 60 req/min) - **SEO Title:** List Formatting Online | Clean Punctuation and Spaces - **Alternative Names:** List Text Cleanup, Clean List Punctuation, list formatter, remove punctuation from a list, clean list text, remove double spaces - **Category:** [Format](https://million.tools/format/) - **Tags:** [#JSON](https://million.tools/tag/json/) - **Application Category:** `UtilitiesApplication` - **Platform:** Web (All modern desktop and mobile browsers, requires JavaScript) - **Price:** Free ($0.00 USD, no registration or sign-up required) - **Live Calculation:** Supported (`Auto / Live` toggle enabled by default) - **User Rating:** 5.00 / 5.00 (1 rating) - **Usage Statistics:** 11 uses · 513 views - **Published:** 2026-10-30 - **Last Updated:** 2026-11-23 - **Author:** Egor Volchenko (Developer & Author) ## Key Features - Remove specified literal symbols - Optionally remove blank rows and commas - Optionally collapse repeated horizontal whitespace - Display the cleanup operation count - Copy each result output - Clear text fields without resetting options ## Parameters & Interface Controls ### Input Parameters & Options - `input_text`: Insert list. - `needle`: Enter comma-separated symbols. - `clear_blanklines`: Boolean. Remove empty rows. - `clear_noc`: Boolean. Remove commas. - `clear_whitespaces`: Boolean. Remove double spaces. ### Output Fields & Metrics - `result`: Result. - **Metric:** `Number of replacements` - **Controls:** `Format`, `Clear`, `Copy`, `Fill test data`, `Auto / Live` ## Interactive Example (Test Vector) **Settings:** - Remove empty rows: `Enabled` - Remove commas: `Enabled` - Remove double spaces: `Enabled` - Enter comma-separated symbols: `!,?` **Insert list:** ```text A,, B! C? ``` **Result:** ```text A B C ``` - **Number of replacements:** `6` ## How to use List Formatting Choose only the symbol and spacing changes that your list needs. ### List Text Cleanup 1. **Enter the source:** Paste the source into *Insert list*. Add literal symbols to *Enter comma-separated symbols*, separating different removal terms with commas. 2. **Choose the settings:** Choose *Remove empty rows*, *Remove commas*, and *Remove double spaces* as needed. *Remove empty rows* is selected by default. 3. **Run the tool:** Click *Format* to process the current input. 4. **Review the output:** Read *Result* and *Number of replacements*. The counter includes symbol matches and any selected whitespace or blank-row cleanup operations. 5. **Copy or clear:** Click *Copy* under the output you want to keep. Use *Clear* where shown to clear the text fields; option selections stay as set. For `Hi!`, an empty row, and `Bye!`, enter `!` as the symbol and keep Remove empty rows selected. Result contains `Hi` and `Bye`; the replacement count is `3`. ### Remove only the symbols you specify Text in the symbol field is treated literally, not as a regular expression. Remove commas provides a separate control for commas because commas also separate the custom removal terms. ### Cleanup does not deduplicate or sort The remaining rows follow their source order. Formatting repeated punctuation and spacing does not merge identical entries or [alphabetize](https://million.tools/sort-list-alphabetically/) the list. ## Frequently asked questions ### Does this remove all punctuation automatically? No. Enter the specific symbols to remove, or use Remove commas for commas. There is no clickable punctuation preset in the current form. ### How do I remove several symbols? Enter them as comma-separated terms in Enter comma-separated symbols. Each nonempty term is treated as literal text. ### Does Remove double spaces remove every space? No. It collapses repeated horizontal whitespace to one space. It does not remove every single space or trim every row edge. ### What does Number of replacements count? It counts matched removal terms, collapsed whitespace runs, and removed blank rows when those cleanup options are enabled. It is not simply the number of characters deleted. ### Will the formatter remove duplicate rows? No. This tool cleans symbols and whitespace. Duplicate removal is a separate operation. ## Related Tools - [Compare Two Lists](https://million.tools/compare-two-lists/): Compare two lists with a list comparison tool that returns combined unique values and list differences. Choose case-sensitive matching and copy each result. - [Row Numbering](https://million.tools/row-numbering/): Use row numbering to add line numbers to pasted text. Number a list with a dot, bracket, or space after each number, then copy the numbered rows. ## About the Author **Egor Volchenko** — *Developer & Author* Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience. - **Links:** [x.com](https://x.com/egorleet) · [github.com](https://github.com/egorleet) · [t.me](https://t.me/egorleet) · [instagram.com](https://www.instagram.com/egorleet) · [facebook.com](https://www.facebook.com/egorleet/) · [egorleet.blog](https://egorleet.blog/) · [mastodon.social](https://mastodon.social/@egorleet) · [twitch.tv](https://www.twitch.tv/egorvolchenko) · [stackoverflow.com](https://stackoverflow.com/users/31679135/egor-volchenko) · [reddit.com](https://www.reddit.com/user/Vegetable_Window9185/) · [youtube.com](https://youtube.com/@egor-volchenko)