Last Updated : 23 Jul, 2025
In this article, we are going to see what is LowerCasePipe in Angular 10 and how to use it.
The LowerCasePipe is used to Transforms all the text to lowercase.
Syntax:
{{ value | lowercase }}
NgModule: Module used by LowercaseCasePipe is:
Approach:
Input value:
Example 1:
app.component.ts
import { Component, OnInit }
from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
// Key Value object
value : string = 'GEEKSFORGEEKS';
}
app.component.html
<b>
<div>
LowerCase value is :
{{value |lowercase}}
</div>
</b>
Output:
Example 2:
app.component.ts
import { Component, OnInit }
from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
// Key Value object
value : string = 'GeeksforGeeks';
}
app.component.html
<b>
<div>
CamelCase value is :
{{value}}
</div>
<div>
LowerCase value is :
{{value |lowercase}}
</div>
</b>
Output:
Reference:https://v17.angular.io/api/common/LowerCasePipeRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4