As long as it's made of HDPE and/or says #2 on the bottom AND it's not red, it's food safe. Red coloring in plastics is toxic.
LDPE #4 is also safe.
PP #5 is safe as long as you don't heat it.
...