var form = $('form')[0]; // You need to use standard javascript object here const oData = new FormData(form); console.log(oData);