fragJS fragJS converts plain text strings to XHTML documents that are fragmented into elements at paragraph, sentence and word levels. Try now. Class names Paragraph-level: "fragjs-p" Sentence-level: "fragjs-s" Word-level: "fragjs-w"