Split String
Break a long string into fixed-length chunks or split it on a separator, with one piece per line.
- Runs in your browser
- Free to use
About this tool
Split String turns one long string into many: fixed-size chunks (every 2, 8, 64 characters…) for hex dumps, keys and hashes, or separator-based pieces for CSV-like values. The result is listed one piece per line with a count, ready to copy.
Related: Commas to New Lines and Remove Line Breaks.
How to use it — quick steps
- 01
Enter the string to split
Type or paste the string to split in the field above. Use Ctrl + V to paste from the clipboard.
- 02
Adjust the options
Pick the settings that fit your case; the defaults work for most people. Changes apply instantly.
- 03
Press "Split string"
Press "Split string" or Ctrl + Enter. The result appears below in an instant. Results can be copied.
Key features of this tool
Nothing leaves your browser
The processing is plain JavaScript that runs on your device: the text you paste is never uploaded to our servers or to anyone else.
Instant results
Results appear the moment you press the button, even for long inputs, and every block has copy and download actions.
Works everywhere
No installation, no account and no limits: the tool works on desktop and mobile, in any modern browser, as often as you like.
Frequently asked questions
Are multi-byte characters handled?
Yes, chunks are counted in Unicode characters, so emoji and accented letters are never cut in half.
Can I split a hex string into bytes?
Set 2 characters per chunk; for 16-bit words use 4.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.