Skip to content

Owie6789/textsplit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

textSplit

TextSplit

why this exists

i needed to break up my stupidly long texts when i kept hitting context limits on those tiny input boxes. searched everywhere for something that didn't look like it was made in 2005, actually worked, or didn't make me sign up / pay. couldn't find it. so here we are.

feel free to use it. fork it. do whatever. it's just text splitting, not rocket science😭.


What It Does

TextSplit lets you split large texts into manageable chunks using multiple methods:

  • Character Count - Split by exact number of characters per chunk
  • Number of Chunks - Divide text into N equal parts
  • Word Count - Split by number of words per chunk
  • By Line - Split by number of lines
  • Custom Delimiter - Split by any symbol or pattern

Export Options

  • Copy to Clipboard - Copy individual chunks or all at once
  • Download as TXT - Export with custom separators
  • Download as JSON - Export with metadata and custom separators
  • Download Individual Chunks - Save any chunk separately

How to Use

Online (Recommended)

Visit owie6789.github.io/textsplit and start splitting instantly. No signup, no tracking, no nonsense.

Offline

  1. Download the index.html file from this repository
  2. Open it in any modern browser
  3. Works completely offline - no internet required after download

Features

Zero Dependencies - Pure HTML, CSS, and JavaScript
Instant Processing - Handles texts up to 1M+ characters
🎨 Minimal Design - Clean, dark theme that doesn't hurt your eyes
📱 Mobile Friendly - Works great on phones and tablets
🔒 Privacy First - Everything happens in your browser, nothing sent anywhere
Accessible - Keyboard navigation, screen reader support
🌙 Respects Preferences - Honors reduced motion settings


Quick Start

  1. Paste your text
  2. Choose how you want to split it
  3. Click "Split Text"
  4. Copy, download, or use individual chunks

That's it.


Technical Details

  • Browser Support - All modern browsers (Chrome, Firefox, Safari, Edge)
  • File Size - Single HTML file, ~30KB
  • Performance - Handles large texts smoothly with optimized rendering
  • Accessibility - WCAG compliant with proper ARIA labels

When Not ToUse It

  • You need to split files (only supports text)
  • You want cloud storage integration (it doesn't have it)
  • You need real-time collaboration (it's single-user)

Contributing

Found a bug? Have an idea? Open an issue or submit a Pull Requ. Please keep it simple.


License

MIT - Do whatever you want with it


GitHub stars GitHub forks License

Made with ❤️ by Owie

About

Split Your Long Texts Into Chunks, Super Easily - TextSplit.

Resources

License

Stars

Watchers

Forks

Contributors

Languages