It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.
Remplissez le formulaire et nous vous répondrons dans les plus brefs délais.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.
Copyright © 2025 All Rights Reserved
function convertToUpper() {
const inputText = document.getElementById("inputText").value;
document.getElementById("outputText").value = inputText.toUpperCase();
}
function convertToLower() {
const inputText = document.getElementById("inputText").value;
document.getElementById("outputText").value = inputText.toLowerCase();
}
function convertToCapitalized() {
const inputText = document.getElementById("inputText").value;
document.getElementById("outputText").value = inputText
.toLowerCase()
.replace(/\b\w/g, char => char.toUpperCase());
}
function convertToSentence() {
const inputText = document.getElementById("inputText").value;
document.getElementById("outputText").value =
inputText.charAt(0).toUpperCase() + inputText.slice(1).toLowerCase();
}
function convertToTitleCase() {
const inputText = document.getElementById("inputText").value;
document.getElementById("outputText").value = inputText
.toLowerCase()
.replace(/\b\w/g, char => char.toUpperCase());
}
function convertToToggleCase() {
const inputText = document.getElementById("inputText").value;
let toggled = '';
for (let i = 0; i < inputText.length; i++) {
const char = inputText[i];
toggled += (char === char.toUpperCase())
? char.toLowerCase()
: char.toUpperCase();
}
document.getElementById("outputText").value = toggled;
}
function copyToClipboard() {
const outputText = document.getElementById("outputText");
outputText.select();
document.execCommand("copy");
alert("Copied to clipboard: " + outputText.value);
}