McDonald's has designed a brilliant new takeout bag that turns into a tray.

The BagTray was developed by McDonald's Hungary and the ad agency DDB Budapest, Gizmodo reports.

Pulling a strip of paper near the bottom of the bag detaches the tray, which is made from reinforced cardboard.

The tray acts as a plate, making it a lot easier to eat food on the go.

We reached out to McDonald's to see whether the trays would be available in the US.

Here's a video showing how it works: