Tools

Home
Base64String to HexHash GeneratorUTF-8URL Encode

Trim List Items

Remove leading and trailing whitespace from each list item. Free, fast, works in your browser.

Your data never leaves your browser
INPUT0 chars
OUTPUT0 chars
Ready

Paste a list where every item has stray spaces or tabs glued to it. Hit Trim and each line comes back clean — pick both sides, just the left, or just the right. And everything runs in your browser. Nothing gets uploaded.

Frequently Asked Questions

What types of whitespace are trimmed?

The tool removes spaces, tabs, and other Unicode whitespace characters from each line based on the selected trim mode.

Can I trim only one side?

Yes. Use the mode selector to choose "Left only" (removes leading whitespace) or "Right only" (removes trailing whitespace), or "Both sides" for full trimming.

Is my data safe?

Yes. All processing happens entirely in your browser using JavaScript. No data is ever sent to any server.

Share: