Replace List Items
Replace certain items in a list with new items. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Replace List Items
- 1. Paste your list. Add your items to the input pane, one per line. This works on any list where certain values need to be swapped out for something else.
- 2. Enter what to find and replace. Type the value in Item or pattern to find and the value in Replace with. Enable Treat the pattern as a regular expression for pattern-based swaps across many items at once.
- 3. Choose how much of the item to replace. Turn on Replace whole matching items to swap the entire line only when it matches exactly, rather than replacing just the matching portion inside a longer item.
- 4. Copy the updated list. The output pane shows your list with every match replaced. Copy it back into your spreadsheet, script or wherever the corrected list needs to go.
When to use Replace List Items
Replace List Items swaps specific values in a list for new ones. Reach for Replace List Items whenever a batch of items needs the same correction applied everywhere, rather than editing rows one at a time.
- Correcting a misspelled product name. An inventory list has a product name misspelled in dozens of rows. Replacing the old spelling with the correct one fixes every occurrence in one pass instead of manual find and replace.
- Standardizing country names across an import. A customer list uses 'USA' in some rows and 'United States' in others. Replacing one variant with the other gives you a consistent value before importing into a CRM.
- Swapping placeholder values in a template list. A generated list still has a placeholder token in every line that needs to become the real value before the list is used in production.
- Using a regular expression for bulk edits. A list of URLs needs 'http://' changed to 'https://' everywhere. Enabling the regular expression option lets you match the pattern once instead of listing every variation.
Examples
Replace an item
Input
apple banana apple
Output
kiwi banana kiwi
About the Replace List Items tool
Replace List Items is a free online tool that works entirely inside your web browser. Replace certain items in a list with new items. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 114 List utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with 4 settings, including Item or pattern to find, Replace with, Treat the pattern as a regular expression and Replace whole matching items, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.
Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.
Frequently asked questions
Is Replace List Items free to use?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How much text can I process at once?
There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.