My diet:
Comparison

Isomalt vs Maltitol

The short answer
Isomalt is the better pick for blood sugar: its glycemic index is about 2 versus about 35 for maltitol. Both are polyols that can upset the stomach. Maltitol tastes more like sugar, which is why it's common in sugar-free chocolate.
Side by sideIsomaltMaltitol
Safety score72/100 Use in moderation62/100 Use in moderation
Glycemic indexAbout 2 ✓ BetterAbout 35
Sweetness vs sugarAbout halfAbout 90% ✓ Better
Calories per gramAbout 2About 2.1
KetoSmall amounts, count half ✓ BetterNot keto-friendly
Gut upsetYes, in large amountsYes, in large amounts
Safety score72 ✓ Better62

Swapping one for the other

If you're avoiding both, look for sugar-free candy sweetened with allulose or stevia, which aren't polyols and are gentler on the gut.

Common questions

Which is in sugar-free hard candy?

Usually isomalt. Maltitol is more common in sugar-free chocolate and baked goods.