Converts string to Start Case — words separated by spaces, each starting with an uppercase letter. Part of Lodash String since 3.1.0 (stable — not deprecated).
Note: Best for headings and labels, not JavaScript identifiers. For code-style names use _.camelCase or _.snakeCase.
Syntax
Call _.startCase. Start with this line.
Lodash
_.startCase([string=''])
Call
What it does
_.startCase([string=''])
Primary signature.
_.startCase(string)
Transform or inspect a string.
Prefer import startCase from "lodash/startCase" when you want a smaller bundle.
_.startCase is a Lodash String helper since 3.1.0. It runs anywhere Lodash runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install lodash.
✓ Stable · Lodash 3.1.0+
_.startCase()
Available in [email protected] full builds and the lodash/startCase modular import. Works in evergreen browsers and current Node LTS when Lodash is installed.
100%With Lodash 3.1+
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
_.startCaseLodash 3.1.0+
Bottom line: Safe for production once Lodash is loaded. Prefer import startCase from "lodash/startCase" for smaller bundles. Use it to turn keys and slugs into readable labels.
Frequently Asked Questions
_.startCase([string='']) converts a string to Start Case: space-separated words with each word’s first character uppercased. Official: _.startCase('--foo-bar--') → 'Foo Bar'.
No. JavaScript strings are immutable. It always returns a new string.
_.capitalize uppercases only the first character of the whole string and lowercases the rest (e.g. 'FOO BAR' → 'Foo bar'). _.startCase treats each word.
startCase is for human-readable labels (spaces, title-like words). camelCase is for JavaScript identifiers (no spaces).
Official: _.startCase('__FOO_BAR__') → 'FOO BAR'. All-caps word tokens can stay uppercase after splitting.
Use import startCase from "lodash/startCase" or require("lodash/startCase") for tree-shaking. Full build: import _ from "lodash" then _.startCase.