Formula - toLowerCase
Easily convert text to lowercase using the Nodinite toLowerCase Formula plugin. This page shows how to transform strings from message [Content][], [Context][], or the output of other formulas to lowercase.
🎯 Designed for business users and integrators — no developer required; you can even use AI to craft expressions.
- ✅ Convert text to lowercase from any [Payload][body] or [Context][] in any Log Event
- ✅ Standardize text for consistent data processing and case-insensitive comparisons
- ✅ Transform and surface meaningful data in Nodinite Log Views, search filters, and self-service diagnostics
- ✅ Combine with other Formula functions for powerful, layered expressions
What does the toLowerCase Formula do?
The toLowerCase(Content) Formula function converts all letters in the provided text to lowercase. Use this function to ensure data consistency across systems, especially when case sensitivity matters.
How it works: Input ➜ toLowerCase ➜ Result
Flow: All letters in the content are converted to lowercase.
Syntax
Convert message body to lowercase: (See Example 1)
tolowercase(body)
Convert message context to lowercase: (See Example 2)
tolowercase(context('MessageContextKey'))
Convert nested formula result to lowercase: (See Example 3)
tolowercase(jsonpath('$.path', body))
Common patterns:
tolowercase(body) # Convert entire message to lowercase
tolowercase(context('CustomerName')) # Convert context value to lowercase
tolowercase(xpath('//OrderId', body)) # Convert XML value to lowercase
Examples
Example 1: Convert message body to lowercase
Input
Message body is NODINITE
Formula Expression
tolowercase(body)
Result
nodinite
Example 2: Convert context value to lowercase
Input
Message context contains a property id with value JAVASCRIPT
Formula Expression
tolowercase(context('id'))
Result
javascript
Example 3: Convert result from another formula
Input
Message body is:
[
{ "name": "HELLO" },
{ "name": "WORLD" }
]
Formula Expression
tolowercase(jsonpath('$..name', body))
Result
hello, world
Features
Important
The
toLowerCaseFormula converts all letters in the provided text to lowercase, ensuring data consistency across integrated systems. This function loads the entire message into RAM—use on small messages only.
- Flexible Inputs: Convert from message [body][], [Context][], or the result of another Formula
- Case Normalization: Standardize text for case-insensitive comparisons and consistent data processing
- Composable: Combine with other Formula functions like jsonPath or xPath for advanced transformations
- Self-Service: Let business users normalize text without developer intervention
How to use
To use the toLowerCase Formula in a Search Field Expression:
- Open your Nodinite Web Client
- Navigate to Administration → Search Fields
- Create or edit a Search Field
- Choose Formula as the expression type
- See Syntax section above for common patterns and usage examples
Next step
- Learn how to create a Search Field with an Expression
Related Topics
- What is Formula?
- toUppercase - Convert text to UPPERCASE
- convert - Fix character encoding issues
- base64encode - Encode text to base64
- base64decode - Decode base64-encoded data
- jsonpath - Extract data from JSON
- xpath - Extract data from XML
- Expression Type Plugins are used in Search Fields
- What are Search Field Expressions?
- What are Log Views?


