db.collectionName.aggregate( [ { "$addFields": { "names": { "$split": [ "$names", "," ] } }}, {$out:"collectionName"} ] )