Was a bit careless and didn't notice there was a small bit of a leaf in my headphone jack until I was putting it in. Now it's squished and presumably stuck in there. Does anyone know a safe way to get it out?
An air duster would probably work. As has been previously mentioned, there is no connection to the inside of the phone so no danger of blowing debris into the electronics.
The very narrow jet of air when used with the tube will normally disturb this sort of thing.
Here in the UK, I normally buy them from a well-known chain of £1 shops - but they should be available at a higher price almost anywhere.
The other answers may work but I'm not sure how safe they are. Cleaning out my phone's charge port I learned of a safer cleaning device which worked great: a shaved down match stick. Get a match stick made of wood (not the flimsy cardboard-tab match sticks, but the small wood stick match stick) and gently whittle its wooden end down on one side so it fits in the port. This provides a not-so-pointy, somewhat-soft, solid object which you can use to scrape out dust and debris.
I've had this problem for years with my old Nokia's power socket slowly filling with lint.
The fix is to power off the phone, and use a length of thin wire with the tiniest hook in the end, I use this to fish around the jack until a clump comes out.
A leaf might be a bit fragile, and the hook could break it up more than grab it. Then try the suction trick to extract the smaller pieces.
If tiny pieces stay in the jack, there's a good chance they won't interfere. Simply rotate the plug a few times to move the obstruction, and give it a shake now and then to dislodge smaller pieces.
I've done this and similar operations in the past.
One option is to use a sewing needle/toothpick/bent paperclip to pick out the leaf from the front of the jack plug. Remember to have your device turned off.
If the device can be opened relatively easily, and you can get to the rear of the jack plug, you may be able to push out the obstruction from the inside. (most jack plugs have a hole all the way through them). This is easier, but might require you to void your device warranty.
Using a small q-tip with 99% ethanol afterwards will make sure to clean off any residue from the leaf and any sap it has left behind
Take a piece of tape, preferable the thin kind, and roll it up into a very narrow cone shape. Leave the stick side facing outwards. Insert this narrow end first into your headphone jack until it heads the end, then give it a couple of gentle twists. Do not push too much on it, let the adhesive do the work for you.
I have succesfully cleaned out the lint out of my phone using this technique.
In the past I have used products such as this which are very cheap and can be found online or in a local shops like PoundLand(UK):
Essentially this is just a can of compressed air with a straw attached combined with a scraping technique.
My technique is to blow the air into the headphone/charging port while using the straw to nudge/push the thing that is stuck in the port around until the turbulent air blows it out.
You don't have to buy the exact one in the image above - any can of compressed air will do. Also be careful not to get any fluids in the port you're cleaning as some cheaper versions do let out a fine mist instead of pure air.