Extract Text Fragment
Pull out a piece of text by start position and length, counting characters, words or lines.
FreeNo uploadNo sign-up
Loading the tool…
How to use the Extract Text Fragment
- Type or paste your input into the Input box, or upload a text file.
- Adjust the options under the tool. The result updates as you type.
- Copy the output or download it as a file.
Private by design
The Extract Text Fragment runs entirely in your web browser. Nothing you enter or open here is uploaded to a server, so it is safe to use with private data and works even when your connection drops after the page has loaded.
Frequently asked questions
Is the Extract Text Fragment free?
Yes. The Extract Text Fragment on Codegres.org is completely free, with no sign-up, no limits and no watermark.
Is my text uploaded anywhere?
No. The Extract Text Fragment runs entirely in your browser using JavaScript, so your text never leaves your device and is not stored or seen by anyone.
Does the Extract Text Fragment work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux, with nothing to install.