Compound Word Hyphenation and Preposition Placement
When to hyphenate compound words before nouns versus after verbs, and when ending a sentence with a preposition is acceptable in technical docs.
This page summarises grammar rules from the Cloudflare Developers documentation style guide for compound word hyphenation and preposition placement. Editors and contributors use these rules to keep product documentation consistent; the same patterns appear in other technical writing standards that distinguish noun modifiers from adverbial phrases.
Compound words: hyphenate modifiers before a noun
Section titled “Compound words: hyphenate modifiers before a noun”Compound-word hyphenation in Cloudflare docs depends on position and grammatical role, not on memorising fixed spellings for every phrase.
Certain expressions should be hyphenated depending on their position and role in the sentence.
As a general rule, when a compound word precedes a noun, it is called a modifier and should be hyphenated. When the same word comes after a verb, it has the role of an adverb and it should not be hyphenated.
— Cloudflare, Compound words — Hyphenation
A modifier sits directly before the noun it narrows (for example, the kind of passwords or maintenance you mean). An adverb use follows a verb and describes how something is kept, how long something lasts, or how current something is. The hyphen signals that two words work as one unit modifying the next noun; without it, readers may parse the phrase as two separate ideas.
Modifier versus adverb: documented examples
Section titled “Modifier versus adverb: documented examples”The style guide pairs the same expression in both roles:
| Role | Hyphenation | Example from the style guide |
|---|---|---|
| Modifier (before a noun) | Hyphenate | Keep up-to-date passwords secured and safe. |
| Adverb (after a verb) | Do not hyphenate | Keep passwords safe by staying up to date. |
| Modifier | Hyphenate | Day-to-day maintenance means any daily processes which must be implemented for the equipment. |
| Adverb | Do not hyphenate | The duration of a maintenance session will vary from day to day. |
| Modifier | Hyphenate | This allows us to implement state-of-the-art security for our customers. |
| Adverb | Do not hyphenate | This approach to authentication was the state of the art until a couple years ago. |
When to apply the modifier rule in practice
Section titled “When to apply the modifier rule in practice”Apply a hyphen when a compound immediately precedes the noun it modifies. If the compound follows the main verb and tells you how or in what manner something is done, treat it as adverbial and omit the hyphen, often as separate words (up to date, day to day, state of the art).
Common compound-word mistakes
Section titled “Common compound-word mistakes”- Hyphenating adverbial phrases after a verb (
staying up-to-datewhen the guide usesstaying up to date). - Leaving a modifier unhyphenated before a noun (
up to date passwordsinstead ofup-to-date passwords). - Treating
state-of-the-artandstate of the artas interchangeable without checking position in the sentence.
Prepositions: ending a sentence with “for”, “to”, or “with”
Section titled “Prepositions: ending a sentence with “for”, “to”, or “with””Technical instructions often read naturally when the preposition stays with the verb at the end (“the application you are submitting an image for”). Cloudflare’s guide allows that pattern but warns against extremes in the other direction.
You can put a preposition at the end of a sentence, but do not do it often. Your sentences can sound stilted if you try to avoid putting the preposition at the end.
— Cloudflare, Prepositions
Preferred versus stilted wording
Section titled “Preferred versus stilted wording”The guide contrasts one clear instruction with an overly formal rewrite:
| Sentence | |
|---|---|
| Preferred | Open the application you are submitting an image for. |
| Avoid (overly formal) | Open the application for which you are submitting an icon. |
The acceptable line keeps the preposition at the end and stays close to how people ask questions (“Which app is this for?”). The rejected line avoids a terminal preposition but swaps image for icon in the example and adds a relative clause that many readers find harder to scan in UI copy or runbooks.
How often to strand a preposition
Section titled “How often to strand a preposition”You may end with a preposition when it matches spoken order and keeps the object clear. You should not do it in every sentence; heavy repetition can feel informal or loose in reference material. Equally, rewriting solely to “fix” terminal prepositions often produces stiff prose—exactly what the guide cautions against.
How these rules fit other material in the same style guide
Section titled “How these rules fit other material in the same style guide”The cluster that fed this page included many Cloudflare changelog announcements without body text in the source bundle; those entries are omitted here because they do not state testable grammar guidance. For hyphenation and prepositions, the authoritative wording remains the linked Compound words and Prepositions pages on developers.cloudflare.com.
How to check this on your site
Section titled “How to check this on your site”-
Open Compound words — Hyphenation and Prepositions and keep them open while you edit.
-
For each suspicious phrase (
up to date,day to day,state of the art), label it as modifier before a noun or adverb after a verb and hyphenate only in the modifier case. -
Read instructions aloud; if avoiding a final preposition forces awkward “for which” phrasing, compare your line to the guide’s preferred “submitting an image for” pattern.
-
Run a quick consistency pass on one doc: list every hyphenated compound before a noun and every unhyphenated phrase after a verb, and fix mismatches against the style guide tables.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match the linked Cloudflare style guide, or you need a clarification on hyphenation or preposition rules, write to yimasynthetic@gmail.com with the page URL and the exact sentence or heading you are questioning.