Free tool · AEM as a Cloud Service
cdn.yaml pre-check
Paste your cdn.yaml before you spend a config pipeline run on it. See the lines that match a cause Adobe's own pages give for a rejected file, and the page each finding rests on.
For AEM developers and DevOps engineers who edit traffic filter rules, redirects, origin selectors or request and response transformations. It runs in your browser: nothing you paste is sent to our server or stored. It is a pre-check, and it was not run against a config pipeline.
The example is a made-up cdn.yaml with the mistakes this page looks for. It is not a working file.
What it does and does not do
A pre-check, not a deployment test
What it reads
The text of one cdn.yaml, pasted or picked as a file, up to 100,000 bytes. It reads it in your browser. Tabs, whitespace at the ends of lines and backslashes in double-quoted strings are checked on every line. The shape of the file (kind, version, metadata, data, the rule sections and their rules lists) is checked as far as this tool can read the YAML.
What you get
A list of findings. Each has the line, a level (error, warning or note), what to change, and the Adobe page it rests on. You also get a draft of your file with the mechanical fixes applied: tabs, trailing whitespace and quote style. It is a draft to review.
What it does not do
It does not say the file will deploy. It does not check whether a when condition makes sense, request property names, WAF flag names, action types, regular expressions or whether an origin can be reached. It does not read your repository or call your site. Kinds other than CDN are recognised and not checked further.
A clean result. A clean result here does not mean the config pipeline will accept the file. This is a pre-check of the points listed under Sources. The real test is a config pipeline run or a deployment to a Rapid Development Environment.
Three levels. Error: Adobe's documentation or knowledge base states the rule. Warning: Adobe names it as a possible cause, or the pipeline's own error text for it was posted on Adobe's forum. Note: Adobe states no rule. Worth a look, not called wrong. A key this tool does not know is always a note.
Free use. The check is free for one file of up to 100,000 bytes, with no account. That is Adobe's own limit for the file (100KB), so a larger file gets one finding, its size, and is not checked further. A tools pass does not change this tool. Questions: contact us
When it cannot read the file. This is not a full YAML parser. It reads the YAML that Adobe's examples use: maps, lists, one-line values in [ ] and { }, quoted and plain values, comments. When it meets an anchor, an alias, a tag, a value over several lines, a second document or nesting more than 64 levels deep, it stops and tells you the line. It does not guess. The line-level checks still cover the whole file.
Sources
The rules it follows, and where they are stated
Every statement below was read on the page linked beside it and checked 14 Nov 2026.
- Adobe names incorrect indentation, tab characters and trailing whitespace as the usual causes of a YAML parsing error when cdn.yaml is deployed, and says generic YAML validators may not catch them. It tells you to remove trailing whitespace "especially after the last configuration line". Adobe knowledge base KA-43847, Resolving YAML parsing errors in AEM Cloud Manager CDN configuration deployment (updated 28 Oct 2026)
- Adobe says passing an external validator "does not guarantee that the file meets AEM Cloud Manager requirements". The validator it links is yamllint.com. Adobe knowledge base KA-43847, Resolving YAML parsing errors in AEM Cloud Manager CDN configuration deployment (updated 28 Oct 2026)
- A regex or back-reference in a double-quoted string needs each backslash written twice ("\\.html$"). In a single-quoted string a backslash needs no escaping ('\.html$'). Adobe's advice is to use single quotes for regex strings where possible. The failing example it shows is replacement: "\1/\2". Adobe knowledge base KA-34449, CDN config deployment fails with 'Could not parse yaml file' due to regex escaping in cdn.yaml (updated 16 Sep 2026)
- In a double-quoted YAML string a backslash starts an escape, and only a fixed list of escapes exists (such as \\, \", \n, \t, \x41, \u0041). \b is on the list and means a backspace character. \., \d, \w, \s and \1 are not on the list. YAML 1.2.2 specification, section 5.7 Escaped Characters
- kind and version are both "Required, no default". The YAML file "must include a valid kind property value"; the values Adobe lists are CDN, MaintenanceTasks, LogForwarding, Otel, API and EdgeFunctions. Adobe, Use Config Pipelines (updated 23 Oct 2026)
- For traffic filter rules and the other CDN rules, kind should be CDN and version should be set to 1. Adobe describes version as a string and quotes it in its examples. Adobe, Traffic Filter Rules including WAF Rules (updated 27 Oct 2026)
- metadata is optional. It holds an array of strings, envTypes; for Publish Delivery the possible values are dev, stage and prod, and for Edge Delivery only prod should be used. Without it the file is processed for all environment types. Adobe, Use Config Pipelines (updated 23 Oct 2026)
- The rule sections requestTransformations, responseTransformations, redirects, originSelectors and trafficFilters sit under data, each with a rules list whose entries have a name, a when condition and an action or actions. Adobe, Configuring Traffic at the CDN (updated 26 Oct 2026)
- A traffic filter rule name is at most 64 characters and can only contain letters, digits and the hyphen. Adobe, Traffic Filter Rules including WAF Rules (updated 27 Oct 2026)
- The whole configuration file, with traffic filter rules, cannot be larger than 100KB. Adobe, Configuring Traffic at the CDN (updated 26 Oct 2026)
- Adobe's fix when validation fails with a missing rules property: add an empty rules: [ ] entry under requestTransformations. Adobe knowledge base KA-35136, Query parameters lost during CDN or dispatcher redirects (updated 18 Aug 2026)
- The config pipeline was seen to refuse requestTransformations that had no rules ("must have required property 'rules'") and rules with no value ("must be array, but was object"). rules: [] was accepted. Adobe community forum thread of 3 Apr 2025, with the config pipeline's own error text. Observed pipeline behaviour, not documentation
- A value written as "{{ lookup('file', ...) }}" to pull a list from another file made the pipeline fail. The poster reports Adobe Support's answer: this syntax is not supported and only one file can be used. Adobe community forum thread of Sep to Oct 2024, where a poster passes on Adobe Support's answer. A forum post, not documentation
- Adobe points to the yq utility to check the YAML formatting of a configuration file on your own machine. Adobe, Use Config Pipelines (updated 23 Oct 2026)
Adobe's pages do not settle these points. This is how the page behaves there. None of it was tested against a config pipeline.
- Adobe publishes no schema and no validator for cdn.yaml. This tool was not run against a config pipeline or a Rapid Development Environment. Its findings follow the pages listed above and nothing else.
- Adobe does not say which YAML parser or YAML version the config pipeline uses. The list of valid escapes used here is the one in YAML 1.2.2.
- Adobe does not say whether a KB is 1,000 or 1,024 bytes. This tool takes 100KB as 100,000 bytes.
- Adobe's table names the key envTypes, but one example on the same page writes envType. This tool cannot tell what the pipeline does with envType, so it is a warning, not an error.
- Adobe does not say whether kind is case sensitive. A value that differs from a listed one only by upper and lower case is a warning.
- Adobe states the 64-character and letters, digits, hyphen rule for traffic filter rule names only. Names in other sections are not checked against it.
- Adobe states no rule about two rules with the same name. It is shown as a note.
- YAML allows any indent step, and some of Adobe's own examples mix steps of two and three columns. Mixed steps are a note. The example in KA-43847 has lost its indentation on Adobe's page, so it is not used as a model here.
- Adobe's pages do not mention no-break spaces, zero-width characters or control characters. YAML reads only the space and the tab as white space, so such a character outside quotes and comments is a note, and the structure is not read past a line that starts with one.
- The key lists are taken from the examples on the pages above. A key this tool does not know is a note, never an error: Adobe can add keys at any time.
Questions
Common questions
My cdn.yaml passes a YAML validator. Why does the config pipeline still fail?
Adobe's knowledge base says this happens: the usual causes it names are incorrect indentation, tab characters and trailing whitespace, and it says generic YAML validators may not catch them. A second cause Adobe documents is a regex written in double quotes, where a backslash such as the one in "\.html" or "\1" is not a valid YAML escape. This page looks for those causes and shows the line.
How should I write a regex with backslashes in cdn.yaml?
Use single quotes. In a single-quoted YAML string a backslash is just a backslash, so '^/blog/(.*)\.html$' and '\1' reach the CDN as written. In double quotes each backslash has to be written twice. That is Adobe's advice in knowledge base article KA-34449. Keep every backslash when you change the quotes: the corrected example in that article drops the backslash before the dot, which makes the dot match any character.
Does a clean result mean my file will deploy?
No. Adobe publishes no schema and no validator for cdn.yaml, and this page was not run against a config pipeline. It checks the points listed under Sources and nothing else. The real test is a config pipeline run in Cloud Manager, or a deployment to a Rapid Development Environment.
Why is requestTransformations without rules a warning and not an error?
Because Adobe's documentation does not state it as a rule. In April 2025 a user posted the config pipeline's own message on Adobe's community forum: "must have required property 'rules'". Adobe's knowledge base gives the fix for that message, an empty rules list, without stating a rule. This page reports it as a warning and says where it comes from.
Is my cdn.yaml sent to your server?
No. The check runs in your browser. The text you paste or the file you pick is not uploaded and not stored, and it is gone when you close the tab. The page counts that the tool was used, without the text. If your file holds a secret, note that Adobe's way is to reference secrets as pipeline or environment variables, not to write them in the file.
What does this do that yq or yamllint do not?
yq, yamllint and online YAML validators check YAML syntax. Adobe points to yq and to the validator at yamllint.com. They do not know Adobe's file. This page reports the causes Adobe's own pages give for a rejected cdn.yaml, including regex backslashes in double quotes, a wrong kind, version or envTypes value and a missing rules list, with the Adobe page beside each. It is not a replacement for either tool or for a pipeline run.
Surge Migrate is not affiliated with Adobe and is not an Adobe partner.
Step 3 of 4: Verify
Free tools that go with this one
This tool does one job in the Verify step. Old against new, and configuration checked before it is used.
- Redirect workbenchFinds duplicates, loops, chains and lines a host will not take in a redirect list, then writes draft files for AEM as a Cloud Service, Edge Delivery Services, Shopify, Wix, Framer, Ghost, Apache, nginx and Netlify.
- Dispatcher filter testerShows which Dispatcher filter rule allows or blocks each request, how the address was split, and a narrow draft allow rule to review. A pre-check of the filter only.
- AEM developer toolsWrites a component (dialog, HTL, Sling Model, test), OSGi configuration, repoinit script, Dispatcher redirects or a servlet, as a zip.
Surge Migrate
Moving the whole site? Scan, convert, verify, install
This tool covers one part of an Adobe project. For the pages of a site, Surge Migrate moves a website from any CMS to any CMS. Converted automatically. Checked before you install.
- 1
Scan
Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.
Scan a site → - 2
Convert
Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.
Convert your pages → - 3
Verify
A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.
Parity check → - 4
Install
You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.
How each import was tested →