RevealTheme logo

シーザー暗号エンコーダー&デコーダー

シーザー暗号でテキストをエンコードまたはデコードします。固定のシフト量に従って文字を置き換える方式です。

このツールの使い方

  1. 1

    Type or paste your message into the text area.

  2. 2

    Drag the Shift slider to pick a key from -25 to +25; the default is 3.

  3. 3

    Read the transformed text in the gray output box, which updates instantly as you type or move the slider.

  4. 4

    To decode a message, set the shift to the negative of the value used to encode it (for example, use -3 to undo a +3 shift).

シーザー暗号とは何ですか?

シーザー暗号は、知られている暗号化手法の中でも最も古いものの一つで、紀元前50年頃のユリウス・カエサルの軍事通信にまでさかのぼります。各文字はアルファベット上で固定された数だけ位置をずらされます。可能な鍵がわずか25通りしかないため簡単に解読できますが、暗号の基礎を学ぶには最適なツールです。

よくある活用例

  • Teaching cryptography basics in a classroom by letting students watch each letter shift in real time.

  • Solving or creating Caesar-cipher puzzles in escape rooms, ARGs, and CTF challenges.

  • Decoding ROT13 text from forums or email by setting the shift to 13 or -13.

  • Brute-forcing an unknown shift: scrub the slider through all 25 values until readable text appears.

  • Generating lightly obfuscated spoiler text or hint answers that readers must shift back to reveal.

  • Prototyping and debugging encode/decode logic before wiring up a stronger cipher in your own code.

よくある質問

シフト量が13とはどういう意味ですか?
それはROT13で、二度適用すると元のテキストに戻る、自己反転的な特別なケースです。

関連ツール