<commit_before>---
layout: guides
page_title: Transforming Packer v1 files for Packer v1.5.0
sidebar_current: hcl
description: |-
  Learn how to manually move from a Packer v1 working JSON build file to a
  working v1.5.0 HCL file.
---

# Transforming Packer v1 files for Packer v1.5

-> **Note:** Starting from version **1.5.0** Packer can read HCL2 files.

We will soon provide a programatical a way to transpose a v1 buildfile to a v1.5
HCL file. In the meantime we will show how to manually do it.<commit_msg>fix missing typo correction (#8494)<commit_after>---
layout: guides
page_title: Transforming Packer v1 files for Packer v1.5.0
sidebar_current: hcl
description: |-
  Learn how to manually move from a Packer v1 working JSON build file to a
  working v1.5.0 HCL file.
---

# Transforming Packer v1 files for Packer v1.5

-> **Note:** Starting from version **1.5.0** Packer can read HCL2 files.

We will soon provide a programatic way to transpose a v1 buildfile to a v1.5
HCL file. In the meantime we will show how to manually do it.
{'fraction_non_alphanumeric': 0.07758620689655173, 'fraction_numerical': 0.038314176245210725, 'mean_word_length': 3.7072072072072073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '528286', 'n_tokens_mistral': 339, 'n_tokens_neox': 334, 'n_words': 160}