# Replace Spaces with Line Breaks > Replace spaces with line breaks to put one word per line. Use spaces to newlines conversion with optional capitalization and copy the resulting list. **Replace spaces with line breaks** to turn whitespace-separated words into a vertical list. The tool can capitalize the starts of the resulting entries while preserving their original sequence. ## Overview & Metadata - **Canonical URL:** https://million.tools/replace-spaces-with-line-breaks/ - **Markdown Copy (.md.txt):** https://million.tools/replace-spaces-with-line-breaks.md.txt - **Plain Text Copy (.txt):** https://million.tools/replace-spaces-with-line-breaks.txt - **API Endpoint:** https://million.tools/api/v1/run/replace-spaces-with-line-breaks (POST, Keyless, 60 req/min) - **SEO Title:** Replace Spaces with Line Breaks Online | Words to Rows - **Alternative Names:** Spaces to Newlines, Put Words on Separate Lines, one word per line, split words into rows, words to column - **Category:** [Merge and split](https://million.tools/merge-and-split/) - **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) - **Usage Statistics:** 4 uses · 528 views - **Published:** 2026-10-30 - **Last Updated:** 2026-10-30 - **Author:** Egor Volchenko (Developer & Author) ## Key Features - Split whitespace-separated items onto separate rows - Treat spaces, tabs, and line breaks as separators - Optionally capitalize word starts - Display the resulting row count - Copy each result output - Clear text fields without resetting options ## Parameters & Interface Controls ### Input Parameters & Options - `input_text`: Insert list. - `capitalize`: Boolean. Begin with uppercase letters. ### Output Fields & Metrics - `result`: Result. - **Metric:** `Number of rows` - **Controls:** `Move`, `Clear`, `Copy`, `Fill test data`, `Auto / Live` ## Interactive Example (Test Vector) **Settings:** - Begin with uppercase letters: `Enabled` **Insert list:** ```text apple banana cherry ``` **Result:** ```text Apple Banana Cherry ``` - **Number of rows:** `3` ## How to use Replace Spaces with Line Breaks Place each whitespace-separated item on its own line, with optional initial capitalization. ### Spaces to Newlines 1. **Enter the source:** Paste the words or passage into *Insert list*. Whitespace separates the items to place on individual rows. 2. **Choose the settings:** Keep *Begin with uppercase letters* selected to capitalize the start of each item, or clear it to preserve the original case. 3. **Run the tool:** Click *Move* to process the current input. 4. **Review the output:** Read *Result* and *Number of rows*. Each whitespace-separated item appears on its own row. 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 `apple pear` with Begin with uppercase letters selected, Result has two rows: `Apple` and `Pear`. The repeated space does not create an empty row. ### Whitespace is treated as a separator Spaces, tabs, and existing line breaks all separate items. Repeated whitespace is collapsed during splitting and does not create blank list entries. ### Use it for words rather than quoted phrases The tool splits at whitespace without recognizing quotation marks as grouping syntax. A phrase in quotes will still become separate word items. ## Frequently asked questions ### Do two spaces create an empty output row? No. Runs of whitespace separate items without creating blank items. ### Are tabs and existing line breaks processed too? Yes. The input is split on whitespace, not only on ordinary space characters. ### Can I keep multiword phrases together with quotes? No. Quotation marks do not protect internal spaces from splitting. Use a custom-separator tool for phrase lists. ### How do I stop words from being capitalized? Clear Begin with uppercase letters before clicking Move. ### Does the output remove repeated words? No. Words remain in their original sequence, including repeated occurrences. ## Related Tools - [Replace Line Breaks with Spaces](https://million.tools/replace-line-breaks-with-spaces/): Replace line breaks with spaces to join text lines. Remove line breaks from pasted lists with optional lowercase conversion, then copy the single-line result. - [Repeat Text](https://million.tools/repeat-text/): Repeat text with a text repeater. Duplicate text a specified number of times, separate copies with line breaks or commas, and copy the result. - [Divide a List into Groups](https://million.tools/split-list-into-groups/): Divide a list into groups after shuffling the entries. Create fixed-size groups or random-sized groups, then copy the groups separated by blank lines. - [Move Words to a Column](https://million.tools/words-to-column/): Move words to a column with a words to lines converter. Split text into rows by whitespace or a custom separator, with optional capitalization. - [Split a List into Columns](https://million.tools/split-list-into-columns/): Split a list into columns with a text to columns tool. Split rows by delimiter or whitespace into up to six outputs, with optional capitalization. ## 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)