How do QR codes work?
Before we break things it’s probably best to have a quick look at how QR codes work. It don’t want to duplicate the excellent resources already out there, so here is just a brief explanation. (For full details, check out the specifications of the standard ISO/IEC18004).

On three corners of a QR code are square blocks that the reader uses to coarsely identify and then align the code. A correctly rendered code also has a “Quiet Region” (Ideally, at least four 'pixel' elements wide) all around the edge of the code to help the reader disambiguate between the code and any other background image.
The masks alter the appearance of the code (toggling elements to make canonical versions that represent the same data, but are rendered in different ways).
A larger format QR code is shown below showing multiple alignment blocks. All other elements remain the same.

The payload for the code (data and checksum data) is then zig-zagged through the grid around the control elements.

Error Correction
Data is stored in a QR in words that are 8 bits long and use the Reed–Solomon error correction algorithm with four configurable error correction levels. The higher the error correction level, the less storage capacity. The following table lists the approximate error correction capability at each of the four levels:
Here are renderings of a QR code for https://DataGenetics.com. Note, when we have low damage tolerance, the payload is short and so a smaller size QR code is generated. As more redundancy is encoded into the payload the length increases, and the resulting code is larger.
Let the destruction begin …
Quiz
Test
Does your smart phone have a QR code scanner? See if you can read the following code:

If you are interested in error correction codes, you might also like this article about how Credit Card Numbers Work.
Update
Since writing this article, various people have contacted me to say that they were able to successfully scan all the wounded codes I created. This is great! As I mentioned earlier in the article, there are many variables, and my testing was far removed from laboratory conditions. There are differences in monitor dot pitch, brightness and contrast between yours and mine. There are differences in lighting conditions, scan conditions and scan distance. There are differences in camera quality, resolution and tolerance. And, (probably most importantly), there are differences in the scanning app. Some software is more sophisticated/tolerant, and able to deal with a wider range of discrepancies than the app I used. This is good news for all the wounded QR codes out there!