# Export config in a readable format

**URL:** <https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069>\
**Category:** SwOS\
**Created:** [March 9, 2026, 12:51pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069 "2026-03-09T12:51:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jensveha](https://forum.mikrotik.com/letter_avatar/jensveha/32/6_449c533f586939b6e5f246632a46421f.png) [@jensveha](https://forum.mikrotik.com/u/jensveha)\
**Post date:** [March 9, 2026, 12:51pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/1 "2026-03-09T12:51:31Z")

</div>

Hey,

I was wondering if there is a way to export config in a human readable format. I have a couple of switches still running SWOS and I want to convert them to RouterOS but don’t want to convert the config manually.

Any advice on this topic?

---

<div class="post-metadata">

**Author:** ![rextended](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/rextended/32/67729_2.png) [@rextended](https://forum.mikrotik.com/u/rextended)\
**Post date:** [March 9, 2026, 12:58pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/2 "2026-03-09T12:58:05Z")

</div>

Have you tried opening the backup file with "notepad"?

---

<div class="post-metadata">

**Author:** ![jensveha](https://forum.mikrotik.com/letter_avatar/jensveha/32/6_449c533f586939b6e5f246632a46421f.png) [@jensveha](https://forum.mikrotik.com/u/jensveha)\
**Post date:** [March 9, 2026, 2:04pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/3 "2026-03-09T14:04:29Z")

</div>

I did, I get a lot of hex values which say nothing to me. I’ve searched online, but haven’t found any converters which can can put it in a human readable format.

---

<div class="post-metadata">

**Author:** ![rextended](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/rextended/32/67729_2.png) [@rextended](https://forum.mikrotik.com/u/rextended)\
**Post date:** [March 9, 2026, 2:05pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/4 "2026-03-09T14:05:24Z")

</div>

Wha device is?

---

<div class="post-metadata">

**Author:** ![jensveha](https://forum.mikrotik.com/letter_avatar/jensveha/32/6_449c533f586939b6e5f246632a46421f.png) [@jensveha](https://forum.mikrotik.com/u/jensveha)\
**Post date:** [March 9, 2026, 3:30pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/5 "2026-03-09T15:30:18Z")

</div>

It’s a CRS328-24P-4S+

---

<div class="post-metadata">

**Author:** ![rextended](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/rextended/32/67729_2.png) [@rextended](https://forum.mikrotik.com/u/rextended)\
**Post date:** [March 9, 2026, 4:52pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/6 "2026-03-09T16:52:12Z")

</div>

I don't think there's a tool to convert from one configuration to another, but I seem to remember (to be verified) that from RooterOS it's possible to see how SwOS is configured???... I don't remember exactly...

---

<div class="post-metadata">

**Author:** ![jaclaz](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jaclaz/32/55652_2.png) [@jaclaz](https://forum.mikrotik.com/u/jaclaz)\
**Post date:** [March 9, 2026, 5:06pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/7 "2026-03-09T17:06:40Z")

</div>

There is this one, but cannot say (since it is 4 years old) if it is any good (anymore):

> **[GitHub - MrDiba/SwOS-Parser: Parser for parsing Mikrotik SwitchOS files to JSON](https://github.com/MrDiba/SwOS-Parser)**
>
> Parser for parsing Mikrotik SwitchOS files to JSON

and there is no reference in the Python script for hex values...

There is also this thingy here that is updated, it is not a backup converter, but it should be able to export the config to Ansible YAML:

> **[GitHub - lanrat/python-mikrotik-swos: Python and Ansible tools for interacting with...](https://github.com/lanrat/python-mikrotik-swos)**
>
> Python and Ansible tools for interacting with Miktotik SwitchOS and SwitchOS Lite

---

<div class="post-metadata">

**Author:** ![jensveha](https://forum.mikrotik.com/letter_avatar/jensveha/32/6_449c533f586939b6e5f246632a46421f.png) [@jensveha](https://forum.mikrotik.com/u/jensveha)\
**Post date:** [March 10, 2026, 8:11am UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/8 "2026-03-10T08:11:38Z")

</div>

Thanks for the links. The first solution doesn’t work out of the box. The second one does work nicely and fits my needs.

---

<div class="post-metadata">

**Author:** ![jaclaz](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jaclaz/32/55652_2.png) [@jaclaz](https://forum.mikrotik.com/u/jaclaz)\
**Post date:** [March 10, 2026, 9:55am UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/9 "2026-03-10T09:55:35Z")

</div>

Good. 🙂, happy it works for you.

From the example here:

> <https://github.com/lanrat/python-mikrotik-swos/blob/main/switch_config.example.yml>

the output format is quite human readable, but from that to converting it to RouterOS seems still a long way (to me).

If you play/use this thingy please - time permitting of course - do post what you did so that it may help someone else on the forum.

---

<div class="post-metadata">

**Author:** ![jensveha](https://forum.mikrotik.com/letter_avatar/jensveha/32/6_449c533f586939b6e5f246632a46421f.png) [@jensveha](https://forum.mikrotik.com/u/jensveha)\
**Post date:** [March 11, 2026, 10:50am UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/10 "2026-03-11T10:50:32Z")

</div>

Oh, I don’t have any concrete plans, but now I have a humanreadable textfile I can easily edit with my text editor of choice to generate a config to import in RouterOS.

---

<div class="post-metadata">

**Author:** ![4lphanumeric](https://forum.mikrotik.com/letter_avatar/4lphanumeric/32/6_449c533f586939b6e5f246632a46421f.png) [@4lphanumeric](https://forum.mikrotik.com/u/4lphanumeric)\
**Post date:** [March 19, 2026, 6:49am UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/11 "2026-03-19T06:49:36Z")

</div>

If it's possible, and if the config is 1:1 from SwOS to ROS it would be nice if you can attach both here. It'll help in updating the converter.

---

<div class="post-metadata">

**Author:** ![Buckeye](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/buckeye/32/2242_2.png) [@Buckeye](https://forum.mikrotik.com/u/Buckeye)\
**Post date:** [March 19, 2026, 6:25pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/12 "2026-03-19T18:25:56Z")

</div>

I don't think it is possible to do a 1:1 between SwOS and ROS. ROS has many more features than SwOS, but SwOS features are not a subset of ROS. Some examples: lock on first mac address seen. No need to specify a default gateway on SwOS, since it just replies to the mac/ipaddr/port that the connection came from.

But there are many things that "could" be translated. I know of nothing that is available to do this, and for the "Couple of switches" to be converted to ROS, it will probably be easier to take the YAML extract and use for reference when configuring ROS, than to try to write something to automate the conversion.

---

<div class="post-metadata">

**Author:** ![jaclaz](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jaclaz/32/55652_2.png) [@jaclaz](https://forum.mikrotik.com/u/jaclaz)\
**Post date:** [March 19, 2026, 10:28pm UTC](https://forum.mikrotik.com/t/export-config-in-a-readable-format/269069/13 "2026-03-19T22:28:11Z")

</div>

Maybe there Is not a 1:1 conversion/translation, but surely there are (possibly complex) sets of commands on RoS that can replicate the effects of a SWos setting.

In other words, not easy but possible.
