Are pain relief pills safe to eat when taken out of their bottles?

Are pain relief pills safe to eat when taken out of their bottles?
I’m planning to take a few pain relief pills (Tylenol, Motrin) out of their bottles and putting them in a sealed Ziploc bag for convenience. Does taking them out of their bottles reduce the effectiveness of the pills? Are they still safe to eat?
I figure it will be okay because they will still be put into a sealed bag, but any information would be much appreciated. Thanks in advance!

Best answer:

Answer by the_only_solorose
as long as you keep the bag in a dark place it should be fine, light causes breakdown of the active ingredients in those two nostrums. Don’t expect them to last more than a week tho.

What do you think? Answer below!