• Jodit
  • PRO
  • Builder
  • Getting Started
  • Playground
  • Examples
  • Documentation
  • Download
  • Overview
  • Issue tracker
  • Docs
  • Plugins
  • Demo
  • Pricing
  • File Browser Pro
  • Sign in
Get connected wth us on social networks!

Footer

Jodit Core

  • Jodit Home page
  • Documentation
  • Playground
  • Examples
  • Github
  • Issues

Integration

  • Jodit React
  • Jodit Angular
  • Jodit Vue
  • Jodit Yii2
  • Jodit Joomla

PRO/OEM plugins

  • AutoComplete
  • Backup Plugin
  • Button Generator
  • Change case
  • Custom Color Picker
  • Emoji
  • Finder
  • Google Search
  • Paste code
  • Show Blocks
  • Virtual Keyboard
  • Tune block
  • Highlight signature
  • Google Maps Editor
  • Export in PDF
  • Page Break
  • Iframe Editor
  • Paste from Word PRO
  • Mobile View
  • ToDo List
  • Translate

Links

  • Demo PRO/OEM
  • Demo FileBrowser PRO
  • Price
  • License
  • Support
  • For resellers

Versions

  • site v.0.1.823
  • Jodit PRO v.4.6.9
  • Jodit v.4.6.2
  • All versions
2025 © Copyright: XDSoft.net <support@xdsoft.net>
  • Getting started

    • Installation
    • Usage
    • Support
    • FAQs
    • Cloud
    • Examples
  • How to

    • Create plugin
    • Add custom button
    • Add custom font in the font list
    • How to create module
    • How to generate license key
    • How to make a backend finder
    • How to set up document view
  • Modes

    • Source mode
  • Customisation

    • Theme
    • Keyboard
  • API

    • License Rest API
    • JS API
  • Changelog

  • Plugins

    • AutoComplete
    • Backup Plugin
    • Button Generator
    • Change case
    • Custom Color Picker
    • Emoji
    • Finder
    • Google Search
    • Paste code
    • Show Blocks
    • Virtual Keyboard
    • Tune block
    • Highlight signature
    • Google Maps Editor
    • Export in PDF
    • Page Break
    • Iframe Editor
    • Paste from Word PRO
    • Mobile View
    • ToDo List
    • Translate

Change Case Plugin

A Jodit plugin that allows you to switch selected text between different cases: Title Case (first letter of each word capitalized), lowercase, or UPPERCASE.

Installation

Add "changeCase" to your Jodit editor's plugin list:

const editor = Jodit.make('#editor', { extraPlugins: ['changeCase'] });
Copy

Usage

The plugin adds a "Change case" button to the editor toolbar in the "font-style" group. When you click on this button, a dropdown list with three options appears:

  • lowercase - converts text to lowercase
  • UPPERCASE - converts text to uppercase
  • Title Case - converts the first letter of each word to uppercase

Working with Selected Text

  1. Select text in the editor
  2. Click on the "Change case" button
  3. Choose the desired case from the dropdown list

Working with the Current Element

If no text is selected, the plugin will apply the case change to the current element where the cursor is located.

Programmatic Usage

You can call the "changeCase" command programmatically:

// Convert selected text to lowercase editor.execCommand('changeCase', null, 'lowercase'); // Convert selected text to uppercase editor.execCommand('changeCase', null, 'uppercase'); // Convert selected text to Title Case editor.execCommand('changeCase', null, 'title case');
Copy

Examples

Basic Usage

const editor = Jodit.make('#editor', { buttons: ['changeCase'], extraPlugins: ['changeCase'] });
Copy

Adding the Button to a Custom Toolbar

const editor = Jodit.make('#editor', { toolbar: { items: [ 'source', '|', 'bold', 'italic', '|', 'changeCase', '|', 'ul', 'ol', '|', 'font', 'fontsize', 'brush', 'paragraph', '|', 'image', 'table', 'link', '|', 'left', 'center', 'right', 'justify', '|', 'undo', 'redo', '|', 'hr', 'eraser', 'fullsize' ] }, extraPlugins: ['changeCase'] });
Copy

Programmatically Changing Text Case

const editor = Jodit.make('#editor', { extraPlugins: ['changeCase'] }); // Add buttons for changing case const container = document.createElement('div'); container.innerHTML = ` <button id="lowercase">lowercase</button> <button id="uppercase">UPPERCASE</button> <button id="titlecase">Title Case</button> `; document.body.appendChild(container); // Add event handlers document.getElementById('lowercase').addEventListener('click', () => { editor.execCommand('changeCase', null, 'lowercase'); }); document.getElementById('uppercase').addEventListener('click', () => { editor.execCommand('changeCase', null, 'uppercase'); }); document.getElementById('titlecase').addEventListener('click', () => { editor.execCommand('changeCase', null, 'title case'); });
Copy

Configuration

The plugin has no additional settings and works "out of the box".

Screenshots

Demo

Full demo including Premium Plugins! 

These examples display all of the plugins available with Jodit Editor PRO/OEM version.

Jodit Editor

Framework  plugins Complete  documentation Examples 
Try play