No!

It is not safe for your dog to have xylitol. xylitol is highly toxic to dogs and can cause liver failure.