Friendly Ice Cream Corp., which employs roughly 10,000 people and operates more than 400 restaurants known for sundaes and hamburgers, filed for Chapter 11 bankruptcy protection Wednesday.

In a struggle familiar to many restaurant chains, the Wilbraham, Mass., restaurant chain has seen sales crimped as fewer people dine out, just as rising prices for corn, butter and other ingredients drained its cash.

Late...