Trim Blank Lines
Remove blank lines from the start and end of text.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Trim Blank Lines
Enter the text.
Press “Trim blank lines”.
Copy the result, or download it as trimmed-text.txt.

