prompter: How can you differentiate between a cooked and raw egg?
assistant: A cooked egg has a firm white and a solid yolk, while a raw egg has a runny white and a yolk that moves freely inside the shell. Additionally, a cooked egg will usually have a different texture and color compared to a raw egg.
prompter: I mean how can I differentiate them without needing to break them.
assistant: Easiest Method  : Spinning the Egg

Grasp the egg between the fingers and thumb of your hand. With a sharp twisting motion, spin the egg on its side like a top. The motion you use should be a little like snapping your fingers. It should now be spinning at a steady, regular pace.

Some flat surfaces in your kitchen that you can use are a cutting board, a counter top, or even the bottom of the sink.

2. Stop its rotation quickly.

Extend your index finger as if you were pointing. Quickly place your finger down on the center of the rotating egg. It should stop spinning. Immediately remove your finger from the egg as soon as it comes to a stop.

Press hard enough to stop the motion of the egg quickly. It should go from spinning to still in the span of a second or so.

3. Watch what happens to the egg.

Depending on whether your egg is hard boiled or raw, it will behave differently at this point. See below:

If the egg stays still, it is a hard boiled egg.

If the egg continues to slowly rotate or wobble it is uncooked. This is because the liquid white and yolk are still spinning inside the shell. The egg's center of gravity shifts as the liquid contents move around, causing the egg to keep moving.

4. For a quicker test, watch the egg's motion as it spins.

The test above should tell you accurately whether or not your egg is hard boiled. However, you can also get this information by carefully watching the way the egg spins — you don't need to stop it with your finger. This is convenient if you need to test many eggs at once.

If the egg spins quickly and steadily like a top, the egg is hard boiled. Its center of gravity is stable.

If it spins slowly, it has a major wobble, or it's tough to spin at all, it's raw. The liquid inside is shifting around as the egg spins and throwing it off balance.

Other Methods :
1. Shake the egg.

2. Look for tiny streams of air bubbles.

Place the egg in a pot or bowl of very hot water (nearly boiling is best). Look for small streams of bubbles coming out of the shell of the egg. When the test is over, take the eggs out quickly unless you want them to boil.

If the egg is raw, you will see these bubbles. Egg shells are not completely solid — they are actually covered by thousands of tiny holes that sometimes can allow gases to pass through. Heating the egg makes the gas inside the shell to expand and pass through these holes, creating bubbles.

If the egg is boiled, you probably won't see these bubbles because the gas was already forced out during the boiling process.

3. Shine a flashlight through the egg.

Wait until night or head to a dark room with your egg and a bright flashlight. Turn the flashlight on and hold it against the side of the egg. This test works best with smaller flashlights so that the rim of the flashlight forms a tight "seal" against the egg shell.

If the egg lights up like a lantern, it is raw. The liquid inside allows the light through.

If the egg is dark and opaque, it is hard-boiled. The solid white and yolk do not let the light through.