How do you tell best friend that you like her but you do not want to ruin your friendship and we are preteens?

Just ask, if she's a friend worth having, she'll still be your friend even if she doesn't like you like that, and if she does, well you have a girlfriend. There is Nothing worse than never knowing if that person likes you or not it'll mess up your friendship not to tell her.