Illustration of a letter wheel shifting the alphabet to encode a message

Caesar Cipher

Shifts each letter forward through its own alphabet by a fixed amount and wraps around at the end — a classic teaching cipher and puzzle-solving tool, not real cryptography. Handles Latin and Cyrillic (Bulgarian) letters in the same pass, case-preserving; digits and punctuation pass through unchanged. Type on either side and the other updates live. Runs entirely in your browser.


💻 Show API usage examples (cURL)
curl -sS -X POST https://devops.majbase.com/caesar-cipher/api -H "Content-Type: application/json" -d '{"action":"encode","text":"Hello, World!","shift":3}'
curl -sS -X POST https://devops.majbase.com/caesar-cipher/api -H "Content-Type: application/json" -d '{"action":"decode","text":"Khoor, Zruog!","shift":3}'

Returns {"result": "..."}, or {"error": "..."}.