diff --git a/modules/webform_devel/webform_devel.module b/modules/webform_devel/webform_devel.module
index cf71f3f8..3ebc1580 100644
--- a/modules/webform_devel/webform_devel.module
+++ b/modules/webform_devel/webform_devel.module
@@ -5,6 +5,10 @@
  * Provides development tools Webform module.
  */
 
+use Drupal\Core\Serialization\Yaml;
+use Drupal\webform\Utility\WebformYamlTidy;
+use Drupal\Core\Form\FormStateInterface;
+
 /**
  * Implements hook_entity_type_alter().
  */
@@ -17,3 +21,45 @@ function webform_devel_entity_type_alter(array &$entity_types) {
     $entity_type->setHandlerClass('form', $handlers['form']);
   }
 }
+
+/**
+ * Implements hook_form_FORM_ID_alter().
+ */
+function webform_form_config_single_export_form_alter(&$form, FormStateInterface $form_state) {
+  $form['export']['#type'] = 'webform_codemirror';
+  $form['export']['#mode'] = 'yaml';
+
+  $form['config_name']['#ajax']['callback'] = '_webform_form_config_single_export_form_update_export';
+}
+
+/**
+ * Handles switching the export textarea and tidies exported MSK configuration.
+ *
+ * Copied from: \Drupal\config\Form\ConfigSingleExportForm::updateExport.
+ */
+function _webform_form_config_single_export_form_update_export($form, FormStateInterface $form_state) {
+  // Determine the full config name for the selected config entity.
+  if ($form_state->getValue('config_type') !== 'system.simple') {
+    $definition = \Drupal::entityManager()->getDefinition($form_state->getValue('config_type'));
+    $name = $definition->getConfigPrefix() . '.' . $form_state->getValue('config_name');
+  }
+  // The config name is used directly for simple configuration.
+  else {
+    $name = $form_state->getValue('config_name');
+  }
+
+  // Read the raw data for this config name, encode it, and display it.
+  $value = Yaml::encode(\Drupal::service('config.storage')->read($name));
+
+  // Tidy all only MSK exported configuration...for now.
+  if (strpos($name, 'webform') === 0) {
+    $value = WebformYamlTidy::tidy($value);
+  }
+
+  $form['export']['#type'] = 'webform_codemirror';
+  $form['export']['#mode'] = 'yaml';
+  $form['export']['#description'] = t('Filename: %name', ['%name' => $name . '.yml']);
+  $form['export']['#value'] = $value;
+
+  return $form['export'];
+}
