Python str.casefold() Online
Preview common Unicode case folding for case-insensitive comparisons.
Run details
The output updates as you type. The tool processes input in your browser.
Worked example
Case folding is for caseless matching. The demo handles common mappings such as ß to ss and final sigma to sigma. Use the native Unicode mapping for complete coverage.
Straße
strasse
Python example
print("Straße".casefold())
Expected native output
strasse
Using this operation in Python
The interactive result uses JavaScript. Python str stores Unicode text. Encode to bytes when an API expects UTF-8 or another byte representation.