Wypróbuj: SELECT CAST( CONCAT('["', REPLACE('a,b,c,d', ',', '","'), '"]') AS JSON ); Zobacz dbfiddle .