Capitalization
Stay organized with collections
Save and categorize content based on your preferences.
Follow the standard capitalization rules for American English. Additionally,
do the following:
-
Don't use unnecessary capitalization; before you capitalize a word, think
about why (and whether) it should be capitalized.
-
Don't rely on a difference in capitalization to convey meaning. For example,
although people who are familiar with Kubernetes probably understand that a
capitalized Pod is a Kubernetes unit, and a lowercase pod is
any other kind of pod, that distinction is likely lost on many casual
readers or those who are new to the domain.
-
Don't use all-uppercase, except in the following contexts: in official
names, in abbreviations that are always
written in all-caps, or when referring to code that uses all-caps.
-
Don't use
camel
case, except in official names or when referring to code that uses camel
case.
For information about how to capitalize specific words, see the
word list.
Capitalize product names
For information about how to capitalize product names, see
Product names.
Capitalization in titles and headings
In document titles and headings, use sentence case. That is,
capitalize only the first word in the title, the first word in a subheading after a colon, and any
proper nouns or other terms that are always capitalized a certain way.
Even though you're using sentence case, don't put a period at the end of a title or
heading.
Capitalization in references to titles and headings
In references to any title or heading from a document that follows this guide, use sentence case
even if the title or heading itself uses title case. That way, when the title or heading is
eventually updated to sentence case, the reference will match.
When you reference the title of any work or source that doesn't follow this guide, retain the
original capitalization.
For more information about internal and external references, see
Cross-references and linking.
For more information about formatting references to third-party sources,
see HTML and semantic tagging.
Capitalization and colons
Use a lowercase letter to begin the first word of the text immediately
following a colon, unless the text is one of the following:
- A proper noun (Open source software: Hadoop)
- A heading; see also Capitalization in titles
and headings
- A quotation (Arthurian wit: "Bring me yon sworde")
- Text that follows a label such as Caution or Note
Capitalization in glossaries and indexes
Use lowercase for glossary and index terms unless the term is a proper noun
or has another reason to require capitalization.
Use sentence case for glossary definitions.
Capitalization and hyphenated words
When a hyphenated word is the first word in a sentence or in a heading,
capitalize only the first element in the word, unless a subsequent element is a
proper noun or proper adjective.
Capitalization for tables in text
Use sentence case for all the elements in a table: contents, headings,
labels, and captions.
Special capitalization style names
Don't use a casing style name, such as camel case or snake case, to describe a
casing style. These names don't localize well and they aren't standardized. Instead, explain what
the requirements are and provide an example.
Recommended: Enter the value for the
attribute
field in the format where there are no spaces between words and the
first letter of each word is capitalized—for example, AssertionAccount
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-02 UTC.
[null,null,["Last updated 2025-04-02 UTC."],[[["\u003cp\u003eFollow standard American English capitalization rules and avoid unnecessary capitalization for clarity.\u003c/p\u003e\n"],["\u003cp\u003eCapitalize product names as they officially appear, but use sentence case for titles, headings, and references to them within the document.\u003c/p\u003e\n"],["\u003cp\u003eBegin text following a colon with lowercase unless it's a proper noun, heading, quote, or follows specific labels like "Caution".\u003c/p\u003e\n"],["\u003cp\u003eUse sentence case for captions, labels within images, glossary terms and definitions, list items, and table elements.\u003c/p\u003e\n"],["\u003cp\u003eWhen describing casing styles, provide clear requirements and examples instead of using style names like "camel case".\u003c/p\u003e\n"]]],["Employ standard American English capitalization rules, avoiding unnecessary capitalization and using lowercase to convey meaning. Use all-uppercase only for official names, specific abbreviations, or code. Avoid camel case except in official names or code. Apply sentence case to document titles, headings, captions, and list items. Capitalize the first word after a colon only if it is a proper noun, in a heading, a quotation, or following labels. Lowercase glossary and index terms unless proper nouns. When hyphenated words are at the start of a sentence, only capitalize the first element unless a proper noun or adjective.\n"],null,["# Capitalization\n\nFollow the standard [capitalization rules](https://owl.purdue.edu/owl/general_writing/mechanics/help_with_capitals.html) for American English. Additionally,\ndo the following:\n\n- Don't use unnecessary capitalization; before you capitalize a word, think about why (and whether) it should be capitalized.\n- Don't rely on a difference in capitalization to convey meaning. For example, although people who are familiar with Kubernetes probably understand that a capitalized *Pod* is a Kubernetes unit, and a lowercase *pod* is any other kind of pod, that distinction is likely lost on many casual readers or those who are new to the domain.\n- Don't use all-uppercase, except in the following contexts: in official names, in [abbreviations](/style/abbreviations) that are always written in all-caps, or when referring to code that uses all-caps.\n- Don't use [camel\n case](https://en.wikipedia.org/wiki/Camel_case), except in official names or when referring to code that uses camel case.\n\n\nFor information about how to capitalize specific words, see the\n[word list](/style/word-list).\n\nCapitalize product names\n------------------------\n\n\nFor information about how to capitalize product names, see\n[Product names](/style/product-names).\n\nCapitalization in titles and headings\n-------------------------------------\n\nIn [document titles and headings](/style/headings), use sentence case. That is,\ncapitalize only the first word in the title, the first word in a subheading after a colon, and any\nproper nouns or other terms that are always capitalized a certain way.\n\nEven though you're using sentence case, don't put a period at the end of a title or\nheading.\n\n### Capitalization in references to titles and headings\n\nIn references to any title or heading from a document that follows this guide, use sentence case\neven if the title or heading itself uses title case. That way, when the title or heading is\neventually updated to sentence case, the reference will match.\n\nWhen you reference the title of any work or source that doesn't follow this guide, retain the\noriginal capitalization.\n\nFor more information about internal and external references, see\n[Cross-references and linking](/style/cross-references).\n\nFor more information about formatting references to third-party sources,\nsee [HTML and semantic tagging](/style/semantic-tagging).\n\nCapitalization and colons\n-------------------------\n\nUse a lowercase letter to begin the first word of the text immediately\nfollowing a colon, unless the text is one of the following:\n\n- A proper noun (*Open source software: Hadoop*)\n- A heading; see also [Capitalization in titles\n and headings](#capitalization-in-titles-and-headings)\n- A quotation (*Arthurian wit: \"Bring me yon sworde\"*)\n- Text that follows a label such as *Caution* or *Note*\n\nCapitalization and figures\n--------------------------\n\nUse sentence case for captions. Use sentence case for labels, callouts, and\nother text in images and diagrams.\n\nCapitalization in glossaries and indexes\n----------------------------------------\n\nUse lowercase for glossary and index terms unless the term is a proper noun\nor has another reason to require capitalization.\n\nUse sentence case for glossary definitions.\n\nCapitalization and hyphenated words\n-----------------------------------\n\nWhen a hyphenated word is the first word in a sentence or in a heading,\ncapitalize only the first element in the word, unless a subsequent element is a\nproper noun or proper adjective.\n\nCapitalization in lists\n-----------------------\n\nUse sentence case for items in all types of lists. For more information, see\n[Capitalization and end punctuation](/style/lists#capitalization-and-end-punctuation).\n\nCapitalization for tables in text\n---------------------------------\n\nUse sentence case for all the elements in a table: contents, headings,\nlabels, and captions.\n\nSpecial capitalization style names\n----------------------------------\n\nDon't use a casing style name, such as *camel case* or *snake case*, to describe a\ncasing style. These names don't localize well and they aren't standardized. Instead, explain what\nthe requirements are and provide an example.\n\nRecommended: Enter the value for the\n`attribute` field in the format where there are no spaces between words and the\nfirst letter of each word is capitalized---for example, `AssertionAccount`."]]