A logo with a white box around it looks fine on a white document but wrong on a colored slide, dark website header or product mockup. The white area is not a display problem. It is usually part of the image because the logo was saved as JPG or flattened onto a white background.
To make a logo flexible, you need transparency. That usually means PNG or WebP, not JPG. JPG cannot store transparent pixels, so every transparent area has to become a color.
Start from the cleanest source
If you have an SVG, AI, EPS or original PNG file, start there. Removing a background from a flattened JPG is possible, but edges may need cleanup because anti-aliased pixels blend with the white background.
If the logo is simple and high contrast, an AI background remover may create a usable transparent PNG quickly. For complex marks or small text, manual cleanup in a design tool may still be needed.
Export for the final use
Use PNG when you need reliable transparency across documents, slides and websites. Use WebP when the logo is for a modern website and you want a smaller file. Keep a high-resolution transparent master and export smaller copies for each placement.
Always preview the transparent logo on light, dark and colored backgrounds. White halos around the edges are easier to catch before the logo goes live.