fiokit.

Trim Text

Remove leading or trailing whitespace from text or individual lines.

Hover over or focus a field for help. Press Escape to close.

Up to 200,000 characters. Processed locally.
0 UTF-16 units
0Words
0Characters
0Without spaces
0Lines

How it works

Paste your content or load the example. Choose the available options, run the tool, then copy or download the result.

A practical example

Your text

  hello  

Result

hello

Frequently asked questions

Is my input sent to a server?

No. Your content is processed in this browser. It is never sent to the server or saved.

What should I know about Trim Text?

Select both edges, start, end or each line.