PHP Hyphenator

Hyphenate That!

Enter or paste text to hyphenate.
Enter hyphenated exceptions.

Instructions

A brief word in explanation. Soft-hyphenation is based on patterns and not dictionaries. The result is about 80 to 90 percent accurate, depending on the language and type of depending. (Humor.) When using this facility it is possible to add custom exceptions, to add, remove, improve and correct words. You can upload files – text or Html. The size is limited to 100KB. Only upload *.txt and *.html files. Some Html markup will not be parsed (currently: <title>, <style>, <script>, <h1>, <h2>, <h3>). To exclude valid elements (other than those mentioned), insert the following attribute inside the element’s tag: data-sub="nohyphens"

It’s very ‘ex-treme-ly’ fast, usually.

A last point. Exceptions are more or less the rule. Please be aware of this selecting a language. As an example, Berliner, the Html E-book, contains roughly 900 exceptions. 900 in about 60,000 words, only a small fraction of which are seven or more characters, long enough to hyphenate.

Aaaaaah
Abyssinia
abortive
Abramacabra
acolytes
Achaeans
Achimenes
Achilles
Acrocanthesaurus
Adamant
aerosol

... a few of the exceptional words.