- 0 minutes to read

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 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

graph LR A["Input: UPPERCASE or MixedCase text"] --> B["toLowerCase(Content)"] B --> C["Result: lowercase text"]

Flow: All letters in the content are converted to lowercase.


Examples

Example 1: Convert message body to lowercase

Input

Message body is NODINITE

Formula Expression

tolowercase(body)

Result

nodinite

Example 1


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 2


Example 3: Convert result from another formula

Input

Message body is:

[
  { "name": "HELLO" },
  { "name": "WORLD" }
]

Formula Expression

tolowercase(jsonpath('$..name', body))

Result

hello, world

Example 3


Features

Important

The toLowerCase Formula 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:

  1. Open your Nodinite Web Client
  2. Navigate to AdministrationSearch Fields
  3. Create or edit a Search Field
  4. Choose Formula as the expression type
  5. Enter one of the following Syntax patterns

Syntax

Convert message body:

tolowercase(body)

Convert message context property:

tolowercase(context('PropertyName'))

Convert with nested formula:

tolowercase(jsonpath('$..name', body))

Next step