Split text into chunks
Split text by visual character or line count and download the chunks as JSON.
Private: it runs in your browser and what you type is never sent anywhere. How to check it
Your files are processed here, on your device
We do not send the contents of your files or text to any server: everything is processed in your browser’s memory. No account is needed, there is no daily quota and we use no analytics or trackers. Each tool has size limits to protect your device’s memory.
A connection is only needed to load the site. After that you can disconnect and the tools keep working (some previews may need the connection). Hosting may receive technical visit data. Favorites store only tool identifiers in this browser.
How we handle your data →How to use this tool
- Enter your data or load the tool’s example.
- Choose the options and press the main button.
- Check the result before copying or downloading it.
An example you can verify
Split text by visual character or line count and download the chunks as JSON.
Example input
abcdefgh
Expected result
[ "abc", "def", "gh" ]
Check the result before copying or downloading it.
Split text into chunks: uses and practical guidance
Set how many visual characters or lines each chunk should contain. The final chunk may be shorter. Output is a JSON array of strings: line breaks appear escaped and are recovered when the JSON is read. Character mode does not split joined emoji or combining accents, but words may be split. Line mode normalizes CRLF and CR to LF and retains blank lines. Chunk size supports one to ten thousand elements, with up to one thousand chunks. This is not a language-model token counter, byte counter or storage-size measurement.
Split text into chunks. Prepare the input as plain text and distinguish what you see from what is stored. A letter can contain several code points, a line break can use two units, and an apparently ordinary space can be a different character. Rich text editors may also introduce curly quotes, special dashes or nonbreaking spaces. Test an accented word, a blank line and a symbol you normally use before processing a long document. The output contains textual content only: colors, styling, visual tables and pictures are outside this operation. When pasting the result into another application, check that it has not been reformatted automatically. Digits written in text do not acquire units or meaning merely because they are extracted or rearranged. Keep the original if you need to compare differences or recover its initial separation.
Split text into chunks. Start with the example and observe the relationship between input and output before pasting a complete document. The example is deliberately small so that you can check it without another application. Then replace its data with a representative sample of your case and adjust the options. The main button performs the operation; loading the example only fills the controls. If you modify any input after calculating, the previous result is hidden so that you do not copy a version that no longer corresponds to the data. Run the operation again after every change. Clear restores the initial form values and discards the result on the page. Copy places the output text on the clipboard when the browser allows it. Download creates a file only when you explicitly request it; calculating does not start downloads. Keep a separate copy of the input if you need to repeat the work later, because this form is not a project archive and does not maintain an operation history.
A practical check before using the result
Split text into chunks. Check a short sample whose result you can predict and another case containing the details that matter for your work. Inspect both the beginning and the end of the output; an apparently correct result may belong to an earlier input if you have saved several copies outside this page. If an error appears, reduce the sample until you find the offending data and review the stated limits. Do not remove information merely to dismiss a warning: first check whether the chosen operation represents what you need. Before using a download in another program, open it and inspect its characters, structure and values. The file contains the result rather than the form settings. If you need to explain how it was produced, retain the input and the options used as well.
Settings and limits
Set how many visual characters or lines each chunk should contain. The final chunk may be shorter. Output is a JSON array of strings: line breaks appear escaped and are recovered when the JSON is read. Character mode does not split joined emoji or combining accents, but words may be split. Line mode normalizes CRLF and CR to LF and retains blank lines. Chunk size supports one to ten thousand elements, with up to one thousand chunks. This is not a language-model token counter, byte counter or storage-size measurement.